Click here to Skip to main content
15,887,683 members
Home / Discussions / Database
   

Database

 
Questiondisributed database (in one computer(at sql 2008)/two server)؟? Pin
22majid2222-May-13 19:44
22majid2222-May-13 19:44 
AnswerRe: disributed database (in one computer(at sql 2008)/two server)؟? Pin
Mycroft Holmes22-May-13 22:07
professionalMycroft Holmes22-May-13 22:07 
QuestionSelect in SP slower than non-SP ? Pin
Saxet22-May-13 7:16
Saxet22-May-13 7:16 
QuestionRe: Select in SP slower than non-SP ? Pin
Eddy Vluggen22-May-13 7:36
professionalEddy Vluggen22-May-13 7:36 
AnswerRe: Select in SP slower than non-SP ? Pin
Saxet22-May-13 8:03
Saxet22-May-13 8:03 
GeneralRe: Select in SP slower than non-SP ? Pin
Eddy Vluggen22-May-13 8:20
professionalEddy Vluggen22-May-13 8:20 
GeneralRe: Select in SP slower than non-SP ? Pin
PIEBALDconsult22-May-13 14:54
mvePIEBALDconsult22-May-13 14:54 
GeneralRe: Select in SP slower than non-SP ? Pin
Saxet23-May-13 3:49
Saxet23-May-13 3:49 
ExecuteReader performs about the same with either a select statement or a stored procedure. It appears to me that there is some penalty (lack of optimization?) when inserting the output from a stored procedure to a table that isn't present when inserting the output of a select statement.

SSMS produces a different "Actual Execution Plan" for the two, but I'm not skilled enough to understand what the differences mean. The execution plan breaks up the stored procedure into two queries, where the select statement is just one.
GeneralRe: Select in SP slower than non-SP ? Pin
PIEBALDconsult23-May-13 13:42
mvePIEBALDconsult23-May-13 13:42 
AnswerRe: Select in SP slower than non-SP ? Pin
Bernhard Hiller22-May-13 21:28
Bernhard Hiller22-May-13 21:28 
QuestionData Clashes Pin
Bram van Kampen21-May-13 15:04
Bram van Kampen21-May-13 15:04 
AnswerRe: Data Clashes Pin
David Mujica22-May-13 2:26
David Mujica22-May-13 2:26 
GeneralRe: Data Clashes Pin
Bram van Kampen23-May-13 15:55
Bram van Kampen23-May-13 15:55 
GeneralTransactions and Identity Pin
David Mujica29-May-13 2:27
David Mujica29-May-13 2:27 
QuestionStored Procedures SQL Server Pin
damokk21-May-13 1:11
damokk21-May-13 1:11 
AnswerRe: Stored Procedures SQL Server Pin
scottgp21-May-13 2:37
professionalscottgp21-May-13 2:37 
AnswerRe: Stored Procedures SQL Server Pin
Corporal Agarn21-May-13 2:58
professionalCorporal Agarn21-May-13 2:58 
GeneralRe: Stored Procedures SQL Server Pin
damokk21-May-13 4:14
damokk21-May-13 4:14 
AnswerRe: Stored Procedures SQL Server Pin
Mycroft Holmes21-May-13 3:19
professionalMycroft Holmes21-May-13 3:19 
GeneralRe: Stored Procedures SQL Server Pin
damokk21-May-13 4:15
damokk21-May-13 4:15 
AnswerRe: Stored Procedures SQL Server Pin
Arun Vasu22-May-13 19:55
Arun Vasu22-May-13 19:55 
AnswerRe: Stored Procedures SQL Server Pin
Aatif Ali from Bangalore12-Jul-13 1:06
professionalAatif Ali from Bangalore12-Jul-13 1:06 
QuestionImporting data using SSIS Package Pin
indian14320-May-13 21:38
indian14320-May-13 21:38 
AnswerRe: Importing data using SSIS Package Pin
Mycroft Holmes20-May-13 23:54
professionalMycroft Holmes20-May-13 23:54 
GeneralRe: Importing data using SSIS Package Pin
Jörgen Andersson21-May-13 0:58
professionalJörgen Andersson21-May-13 0:58 

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.