Click here to Skip to main content
16,005,098 members
Home / Discussions / Database
   

Database

 
Questionvery urgent pls help me about concurrency in ADO.Net Pin
Vinay Dornala18-Jan-07 1:02
Vinay Dornala18-Jan-07 1:02 
AnswerRe: very urgent pls help me about concurrency in ADO.Net Pin
Vinay Dornala18-Jan-07 1:15
Vinay Dornala18-Jan-07 1:15 
AnswerRe: very urgent pls help me about concurrency in ADO.Net Pin
ednrgc18-Jan-07 2:14
ednrgc18-Jan-07 2:14 
AnswerRe: very urgent pls help me about concurrency in ADO.Net Pin
Rob Graham18-Jan-07 3:48
Rob Graham18-Jan-07 3:48 
AnswerRe: very urgent pls help me about concurrency in ADO.Net Pin
Mike Dimmick19-Jan-07 6:34
Mike Dimmick19-Jan-07 6:34 
Questionhi Pin
PavanPareta18-Jan-07 0:40
PavanPareta18-Jan-07 0:40 
AnswerRe: hi Pin
ednrgc18-Jan-07 2:14
ednrgc18-Jan-07 2:14 
AnswerRe: hi Pin
M.H.1.2.318-Jan-07 10:28
M.H.1.2.318-Jan-07 10:28 
1.stored procedures allow default values for parameters user defined functions do not.
2.stored procedures allow you to use temp tables user defined functions only allow table variables.
3.you can use table valued user defined functions for normal table functionality such as joins, select *, etc. which can be useful sometimes.
4.both have cached execution plans.

In general I would suggest to use procedures when you can and function only when a procedure won't do the job, just because it seems that functions could allow you to kill your performance when used in where clauses on queries with alot of rows, or even if used in select list on queries with alot of rows. Also functions calling functions makes sense to an application developer but doing something like that in your databse functions may be tempting, but imho is a bad idea.
GeneralRe: hi Pin
PavanPareta18-Jan-07 17:35
PavanPareta18-Jan-07 17:35 
QuestionCopy data from datatable to SqlServer table Pin
Member 368588918-Jan-07 0:05
Member 368588918-Jan-07 0:05 
AnswerRe: Copy data from datatable to SqlServer table Pin
ednrgc18-Jan-07 2:17
ednrgc18-Jan-07 2:17 
QuestionANY operator in SQL Server Pin
Uma Kameswari17-Jan-07 23:23
Uma Kameswari17-Jan-07 23:23 
AnswerRe: ANY operator in SQL Server Pin
Pete O'Hanlon18-Jan-07 0:22
mvePete O'Hanlon18-Jan-07 0:22 
Questionhandling database records Pin
rahulpasupuleti17-Jan-07 22:16
rahulpasupuleti17-Jan-07 22:16 
AnswerRe: handling database records Pin
Vinay Dornala17-Jan-07 22:45
Vinay Dornala17-Jan-07 22:45 
GeneralRe: handling database records Pin
rahulpasupuleti18-Jan-07 0:29
rahulpasupuleti18-Jan-07 0:29 
Questionabout Transactions Pin
Vinay Dornala17-Jan-07 18:15
Vinay Dornala17-Jan-07 18:15 
AnswerRe: about Transactions Pin
Pete O'Hanlon18-Jan-07 0:29
mvePete O'Hanlon18-Jan-07 0:29 
GeneralRe: about Transactions Pin
Vinay Dornala18-Jan-07 0:55
Vinay Dornala18-Jan-07 0:55 
GeneralRe: about Transactions Pin
Pete O'Hanlon18-Jan-07 1:14
mvePete O'Hanlon18-Jan-07 1:14 
QuestionSQL2005 Licensing (Boring) Pin
thedom217-Jan-07 14:15
thedom217-Jan-07 14:15 
QuestionSQL Distinct Pin
nlindley717-Jan-07 9:59
nlindley717-Jan-07 9:59 
AnswerRe: SQL Distinct Pin
Drew McGhie17-Jan-07 11:31
Drew McGhie17-Jan-07 11:31 
GeneralRe: SQL Distinct Pin
nlindley718-Jan-07 3:20
nlindley718-Jan-07 3:20 
AnswerRe: SQL Distinct Pin
ednrgc18-Jan-07 2:19
ednrgc18-Jan-07 2:19 

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.