Click here to Skip to main content
15,896,118 members
Home / Discussions / Database
   

Database

 
GeneralRe: Updating Table Pin
vhassan28-Jan-10 15:56
vhassan28-Jan-10 15:56 
GeneralRe: Updating Table Pin
Avi Berger28-Jan-10 16:12
Avi Berger28-Jan-10 16:12 
GeneralRe: Updating Table Pin
vhassan28-Jan-10 19:55
vhassan28-Jan-10 19:55 
AnswerRe: Updating Table Pin
Avi Berger28-Jan-10 15:48
Avi Berger28-Jan-10 15:48 
GeneralRe: Updating Table Pin
vhassan28-Jan-10 16:02
vhassan28-Jan-10 16:02 
GeneralRe: Updating Table Pin
Avi Berger28-Jan-10 16:17
Avi Berger28-Jan-10 16:17 
QuestionT-SQL - Using a resultset from a Stored Procedure Pin
Steven J Jowett28-Jan-10 5:20
Steven J Jowett28-Jan-10 5:20 
AnswerRe: T-SQL - Using a resultset from a Stored Procedure Pin
Mycroft Holmes28-Jan-10 11:59
professionalMycroft Holmes28-Jan-10 11:59 
You have a number of choice on how to transport a resultset from a proc

Turn the proc into a view - always the first choice but rarely possible with a pivot

Use a UDF - also dies on the requirement of dynamic SQL to define the columns

Shove the resultset into an XML variable and pass it back as an out parameter - there are a number of articles on CP on the subject. I have used this once and while it worked I have a strong dislike for XML.

Use a global temp table. This is my default option but it has some drawbacks like using the tempdb, house keeping the tables and race issues if it is a popular proc.

Never underestimate the power of human stupidity
RAH

GeneralRe: T-SQL - Using a resultset from a Stored Procedure Pin
Steven J Jowett28-Jan-10 21:30
Steven J Jowett28-Jan-10 21:30 
AnswerRe: T-SQL - Using a resultset from a Stored Procedure Pin
i.j.russell30-Jan-10 22:52
i.j.russell30-Jan-10 22:52 
QuestionDecrypt Stored Procedure Pin
Isaac Gordon27-Jan-10 21:21
Isaac Gordon27-Jan-10 21:21 
AnswerRe: Decrypt Stored Procedure Pin
Pranay Rana27-Jan-10 22:03
professionalPranay Rana27-Jan-10 22:03 
QuestionUrgent : "There is not enough memeory to run this program" error in Business Objects XI R2 Pin
CodalcoholicNBrainy27-Jan-10 20:10
CodalcoholicNBrainy27-Jan-10 20:10 
AnswerRe: Urgent : "There is not enough memeory to run this program" error in Business Objects XI R2 Pin
Tim Carmichael28-Jan-10 4:44
Tim Carmichael28-Jan-10 4:44 
QuestionHandling SQL Server Multi User Pin
Kevin Marois27-Jan-10 6:32
professionalKevin Marois27-Jan-10 6:32 
AnswerRe: Handling SQL Server Multi User Pin
Mycroft Holmes27-Jan-10 14:00
professionalMycroft Holmes27-Jan-10 14:00 
QuestionHow to script jobs Pin
cdpace27-Jan-10 2:08
cdpace27-Jan-10 2:08 
AnswerRe: How to script jobs Pin
WoutL27-Jan-10 3:19
WoutL27-Jan-10 3:19 
QuestionQuery to find Unique Records Pin
sjs4u26-Jan-10 22:15
sjs4u26-Jan-10 22:15 
AnswerRe: Query to find Unique Records Pin
Pranay Rana26-Jan-10 22:55
professionalPranay Rana26-Jan-10 22:55 
GeneralRe: Query to find Unique Records Pin
sjs4u26-Jan-10 23:13
sjs4u26-Jan-10 23:13 
GeneralRe: Query to find Unique Records Pin
Pranay Rana27-Jan-10 18:15
professionalPranay Rana27-Jan-10 18:15 
QuestionSQL Query to update col_1 with col_2 value Pin
xcavin26-Jan-10 9:27
xcavin26-Jan-10 9:27 
AnswerRe: SQL Query to update col_1 with col_2 value Pin
xcavin26-Jan-10 10:07
xcavin26-Jan-10 10:07 
QuestionUpdatoing .NET Framework version Pin
Kaikus25-Jan-10 22:14
Kaikus25-Jan-10 22:14 

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.