Click here to Skip to main content
15,888,527 members
Home / Discussions / Database
   

Database

 
QuestionSQL Pin
newbie123456789101-May-09 9:04
newbie123456789101-May-09 9:04 
AnswerRe: SQL Pin
David Mujica1-May-09 9:45
David Mujica1-May-09 9:45 
GeneralRe: SQL Pin
newbie123456789101-May-09 9:59
newbie123456789101-May-09 9:59 
Questiongenerate & compare id from table in sql storeprocedure Pin
premprakashbhati30-Apr-09 22:26
premprakashbhati30-Apr-09 22:26 
Questionstored procedure is fast, but slow from code Pin
Meysam Mahfouzi30-Apr-09 20:47
Meysam Mahfouzi30-Apr-09 20:47 
AnswerRe: stored procedure is fast, but slow from code Pin
Henry Minute1-May-09 0:04
Henry Minute1-May-09 0:04 
AnswerUse Estimated execution plan Pin
David Mujica1-May-09 3:24
David Mujica1-May-09 3:24 
GeneralRe: Use Estimated execution plan Pin
Meysam Mahfouzi1-May-09 5:53
Meysam Mahfouzi1-May-09 5:53 
Thanks for your advice,

All the indexes are being used (index seek) and no table scan is happening. That's why the query gets executed very fast in Sql Server. That's why I wonder what the difference is when I execute it from code with the same parameters.
GeneralRe: Use Estimated execution plan Pin
David Mujica1-May-09 7:55
David Mujica1-May-09 7:55 
AnswerRe: stored procedure is fast, but slow from code Pin
Mycroft Holmes1-May-09 14:52
professionalMycroft Holmes1-May-09 14:52 
QuestionMySQL: how to call a stored proc with OUT param Pin
devvvy30-Apr-09 20:15
devvvy30-Apr-09 20:15 
QuestionMicrosoft SQL 2008 Pin
Ivan200930-Apr-09 10:20
Ivan200930-Apr-09 10:20 
AnswerRe: Microsoft SQL 2008 Pin
Henry Minute30-Apr-09 11:43
Henry Minute30-Apr-09 11:43 
GeneralRe: Microsoft SQL 2008 Pin
Ivan200930-Apr-09 14:12
Ivan200930-Apr-09 14:12 
GeneralRe: Microsoft SQL 2008 Pin
Mycroft Holmes30-Apr-09 17:50
professionalMycroft Holmes30-Apr-09 17:50 
GeneralRe: Microsoft SQL 2008 Pin
Ivan20091-May-09 6:28
Ivan20091-May-09 6:28 
Questionsystem table sysmergesubscriptions: replacements for distributor and srvid Pin
Roland Bär30-Apr-09 6:03
Roland Bär30-Apr-09 6:03 
Questionlinked server error in sql server Pin
Maddie from Dartford30-Apr-09 3:32
Maddie from Dartford30-Apr-09 3:32 
AnswerRe: linked server error in sql server Pin
Mycroft Holmes30-Apr-09 17:54
professionalMycroft Holmes30-Apr-09 17:54 
Questionselect where only Pin
foryou30-Apr-09 0:58
foryou30-Apr-09 0:58 
AnswerRe: select where only Pin
scottgp30-Apr-09 1:46
professionalscottgp30-Apr-09 1:46 
GeneralRe: select where only Pin
foryou30-Apr-09 2:56
foryou30-Apr-09 2:56 
QuestionUpdate datagridview Pin
hitesh.kalra29-Apr-09 21:41
hitesh.kalra29-Apr-09 21:41 
AnswerRe: Update datagridview Pin
Mycroft Holmes29-Apr-09 22:03
professionalMycroft Holmes29-Apr-09 22:03 
AnswerRe: Update datagridview Pin
Spunky Coder29-Apr-09 22:13
Spunky Coder29-Apr-09 22:13 

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.