Click here to Skip to main content
15,910,886 members
Home / Discussions / Database
   

Database

 
GeneralRe: Need a way to jump to record. Pin
Alexander Wiseman27-Jun-06 11:51
Alexander Wiseman27-Jun-06 11:51 
GeneralRe: Need a way to jump to record. [modified] Pin
PyroManiak27-Jun-06 13:10
PyroManiak27-Jun-06 13:10 
GeneralRe: Need a way to jump to record. [modified] Pin
PyroManiak27-Jun-06 13:39
PyroManiak27-Jun-06 13:39 
GeneralOT Pin
Colin Angus Mackay27-Jun-06 20:51
Colin Angus Mackay27-Jun-06 20:51 
GeneralRe: OT Pin
PyroManiak28-Jun-06 6:24
PyroManiak28-Jun-06 6:24 
QuestionStored proc call - passing a parameter [modified] Pin
IMC200627-Jun-06 7:15
IMC200627-Jun-06 7:15 
AnswerRe: Stored proc call - passing a parameter Pin
Elina Blank27-Jun-06 8:02
sitebuilderElina Blank27-Jun-06 8:02 
Questionscripts not single statements - ORACLE Pin
Malcolm Smart27-Jun-06 3:59
Malcolm Smart27-Jun-06 3:59 
Hi
I can execute single line statements against a db, no problem...
string SQLQuery = "select VERSION, DSC from exo_version where SYSTEM = 'DATABASE'";
string strConnect = "DSN="+ dbName +";UID=abc; PWD=cde";

OdbcConnection conn = new OdbcConnection(strConnect);
conn.Open();

DataSet fullSet = new DataSet();

OdbcDataAdapter dataAdapter = new OdbcDataAdapter();
OdbcCommandBuilder commandBuilder = new OdbcCommandBuilder(dataAdapter);

dataAdapter.SelectCommand = new OdbcCommand(SQLQuery, conn);
dataAdapter.Fill(fullSet);
Cache["dbVersion"] = fullSet;


but my client wants a web based front end developing where the user can dump a load of statements in one big text block, select the DB and the server to execute them.

The 'old' way of doing this was to open up PLSQL, paste the script into a command window and execute. I could parse the text for the semicolon and process each line independantly, but is there a way to throw a whole script, which will include inserts, deleted, modification of schema, index creation etc at the database in one go?....and then capture the output!!

Any info at all on this would be appreciated.

Regards

Angel
*********************************************
The sooner you fall behind, the longer you have to catch up.
QuestionIntegration... Pin
d24k104d26-Jun-06 15:05
d24k104d26-Jun-06 15:05 
AnswerRe: Integration... Pin
Paul Conrad26-Jun-06 18:35
professionalPaul Conrad26-Jun-06 18:35 
Question[Message Deleted] Pin
PyroManiak26-Jun-06 10:53
PyroManiak26-Jun-06 10:53 
AnswerRe: Open "Edit" form based on SQL item? Pin
Colin Angus Mackay27-Jun-06 4:33
Colin Angus Mackay27-Jun-06 4:33 
GeneralRe: Open "Edit" form based on SQL item? Pin
PyroManiak27-Jun-06 6:11
PyroManiak27-Jun-06 6:11 
GeneralRe: Open "Edit" form based on SQL item? Pin
Colin Angus Mackay27-Jun-06 12:27
Colin Angus Mackay27-Jun-06 12:27 
AnswerRe: Open "Edit" form based on SQL item? Pin
Colin Angus Mackay27-Jun-06 12:47
Colin Angus Mackay27-Jun-06 12:47 
GeneralRe: Open "Edit" form based on SQL item? Pin
PyroManiak27-Jun-06 12:58
PyroManiak27-Jun-06 12:58 
GeneralRe: Open "Edit" form based on SQL item? Pin
PyroManiak27-Jun-06 13:08
PyroManiak27-Jun-06 13:08 
GeneralRe: Open "Edit" form based on SQL item? Pin
Colin Angus Mackay27-Jun-06 13:27
Colin Angus Mackay27-Jun-06 13:27 
QuestionSQL Server Function Call [modified] Pin
tadhg8826-Jun-06 3:16
tadhg8826-Jun-06 3:16 
AnswerOT Pin
Colin Angus Mackay27-Jun-06 4:37
Colin Angus Mackay27-Jun-06 4:37 
GeneralRe: OT Pin
tadhg8827-Jun-06 5:06
tadhg8827-Jun-06 5:06 
GeneralRe: OT Pin
Colin Angus Mackay27-Jun-06 5:12
Colin Angus Mackay27-Jun-06 5:12 
GeneralRe: OT Pin
tadhg8827-Jun-06 6:00
tadhg8827-Jun-06 6:00 
GeneralRe: OT Pin
Eric Dahlvang27-Jun-06 9:19
Eric Dahlvang27-Jun-06 9:19 
GeneralRe: OT Pin
Colin Angus Mackay27-Jun-06 12:25
Colin Angus Mackay27-Jun-06 12:25 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.