Click here to Skip to main content
15,921,841 members
Home / Discussions / Database
   

Database

 
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 
GeneralSql/osql help Pin
DxSolo17-Jun-03 8:15
DxSolo17-Jun-03 8:15 
GeneralRe: Sql/osql help Pin
basementman17-Jun-03 14:24
basementman17-Jun-03 14:24 
GeneralRe: Sql/osql help Pin
DxSolo18-Jun-03 3:15
DxSolo18-Jun-03 3:15 
GeneralRe: Sql/osql help Pin
basementman18-Jun-03 4:12
basementman18-Jun-03 4:12 
GeneralRe: Sql/osql help Pin
DxSolo18-Jun-03 5:06
DxSolo18-Jun-03 5:06 
GeneralRe: Sql/osql help Pin
Arjan Einbu18-Jun-03 23:20
Arjan Einbu18-Jun-03 23:20 
GeneralSeveral queries in single ODBC command Pin
jpeg17-Jun-03 4:46
jpeg17-Jun-03 4:46 
GeneralRe: Several queries in single ODBC command Pin
basementman17-Jun-03 5:42
basementman17-Jun-03 5:42 
GeneralADO 2.5 Interop - Connection.Open Method Pin
Member 44025716-Jun-03 7:57
Member 44025716-Jun-03 7:57 
QuestionXML and Dataset ?? Pin
codycaillet16-Jun-03 7:56
codycaillet16-Jun-03 7:56 
Generalerror adding variable using INSERT INTO Pin
Ahmed Galal13-Jun-03 13:51
Ahmed Galal13-Jun-03 13:51 
GeneralRe: error adding variable using INSERT INTO Pin
Nino_113-Jun-03 17:52
Nino_113-Jun-03 17:52 
GeneralRe: error adding variable using INSERT INTO Pin
Ahmed Galal13-Jun-03 18:02
Ahmed Galal13-Jun-03 18:02 
GeneralRe: error adding variable using INSERT INTO Pin
Arjan Einbu14-Jun-03 15:17
Arjan Einbu14-Jun-03 15:17 

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.