Click here to Skip to main content
15,925,602 members
Home / Discussions / Database
   

Database

 
Generalslow ODBC connections with Win 2000 Server Pin
jpeg22-Jun-03 21:25
jpeg22-Jun-03 21:25 
GeneralRe: slow ODBC connections with Win 2000 Server Pin
basementman23-Jun-03 4:09
basementman23-Jun-03 4:09 
GeneralRe: slow ODBC connections with Win 2000 Server Pin
jpeg23-Jun-03 20:54
jpeg23-Jun-03 20:54 
GeneralRe: slow ODBC connections with Win 2000 Server Pin
basementman24-Jun-03 5:09
basementman24-Jun-03 5:09 
GeneralExiting loop before it finishes causes program to crash.. Pin
IrishSonic22-Jun-03 6:43
IrishSonic22-Jun-03 6:43 
GeneralRe: Exiting loop before it finishes causes program to crash.. Pin
Nick Parker22-Jun-03 6:54
protectorNick Parker22-Jun-03 6:54 
GeneralRe: Exiting loop before it finishes causes program to crash.. Pin
IrishSonic23-Jun-03 11:24
IrishSonic23-Jun-03 11:24 
GeneralStoring Class(Object) in a SQL Database (C#) Pin
Daniel Kirstenpfad21-Jun-03 3:54
Daniel Kirstenpfad21-Jun-03 3:54 
Questionhow to generalize SQL queries Pin
puppiesLover20-Jun-03 8:04
puppiesLover20-Jun-03 8:04 
AnswerRe: how to generalize SQL queries Pin
Mike Osbahr23-Jun-03 4:48
Mike Osbahr23-Jun-03 4:48 
GeneralAdd host to MySQL 4 Pin
Matt Newman19-Jun-03 7:16
Matt Newman19-Jun-03 7:16 
GeneralRe: Add host to MySQL 4 Pin
ZoogieZork22-Jun-03 7:19
ZoogieZork22-Jun-03 7:19 
GeneralPopulate schema to database Pin
Jim Stewart19-Jun-03 6:59
Jim Stewart19-Jun-03 6:59 
GeneralCreateDatabase Pin
Jim Stewart19-Jun-03 6:50
Jim Stewart19-Jun-03 6:50 
GeneralRe: CreateDatabase Pin
Joshua Nussbaum27-Jun-03 8:51
Joshua Nussbaum27-Jun-03 8:51 
GeneralTransactions Pin
Megan Forbes19-Jun-03 5:03
Megan Forbes19-Jun-03 5:03 
GeneralRe: Transactions Pin
basementman19-Jun-03 8:44
basementman19-Jun-03 8:44 
GeneralRe: Transactions Pin
Megan Forbes19-Jun-03 22:18
Megan Forbes19-Jun-03 22:18 
GeneralRe: Transactions Pin
Arjan Einbu19-Jun-03 12:14
Arjan Einbu19-Jun-03 12:14 
GeneralRe: Transactions Pin
Megan Forbes19-Jun-03 22:19
Megan Forbes19-Jun-03 22:19 
GeneralRe: Transactions Pin
Arjan Einbu19-Jun-03 22:30
Arjan Einbu19-Jun-03 22:30 
GeneralRe: Transactions Pin
basementman20-Jun-03 3:58
basementman20-Jun-03 3:58 
And the performance will not be as good and the procedure will not be reusable.

People need to think of stored procedures as public functions that you call, just like any other function in your program. The only difference is that this function resides in a public library and the mechanics of calling it are a little different. You can achieve an API-like environment with your stored procedures, including 'private', interal procedures and public, user procedures, just like you can in a *real* programming language. But, unfortunately, most people don't look at sp this way. Back to your problem: would you code a C# function that didn't throw an exception until all it's statements completed, regardless of which one failed? I hope not. Same with stored procedures.



 onwards and upwards... 
GeneralRe: Transactions Pin
Arjan Einbu20-Jun-03 11:53
Arjan Einbu20-Jun-03 11:53 
GeneralNotesSQL using.NET, OdbcException Pin
sinus-c18-Jun-03 0:35
susssinus-c18-Jun-03 0:35 
GeneralRe: NotesSQL using.NET, OdbcException Pin
sinus-c18-Jun-03 1:52
susssinus-c18-Jun-03 1:52 

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.