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

Database

 
AnswerRe: SQL Stored procedure help Pin
Ashfield23-Jul-09 8:34
Ashfield23-Jul-09 8:34 
GeneralRe: SQL Stored procedure help Pin
cdietschrun23-Jul-09 9:35
cdietschrun23-Jul-09 9:35 
GeneralRe: SQL Stored procedure help Pin
cdietschrun23-Jul-09 9:48
cdietschrun23-Jul-09 9:48 
QuestionConcurrency Issue - Restict Select query ( view) till another user modifies it. Pin
meerabhuva23-Jul-09 4:07
meerabhuva23-Jul-09 4:07 
AnswerRe: Concurrency Issue - Restict Select query ( view) till another user modifies it. Pin
David Mujica23-Jul-09 4:29
David Mujica23-Jul-09 4:29 
Questionupdate table with split function Pin
jrsreenivas23-Jul-09 3:44
jrsreenivas23-Jul-09 3:44 
AnswerRe: update table with split function Pin
leckey23-Jul-09 10:10
leckey23-Jul-09 10:10 
AnswerRe: update table with split function Pin
Robin_Roy27-Jul-09 17:25
Robin_Roy27-Jul-09 17:25 
Which Version of SQL Server are you using.
In SQL Server 2008, you can pass Table Value Parameter to your stored procedure and in such a case no need to pass delimited string of ID's.

If not, you need to create a Table Variable and store the IDs in the Table Variable first using the Split UDF and then use the same in the statement. Also you can iterate through your table of IDs and then update the purchases table.
QuestionMSMQ Performance Monitoring Pin
UmaMahesh suda23-Jul-09 3:08
UmaMahesh suda23-Jul-09 3:08 
AnswerRe: MSMQ Performance Monitoring Pin
leckey23-Jul-09 10:14
leckey23-Jul-09 10:14 
QuestionExecuteScalar() Pin
sandhya1422-Jul-09 22:08
sandhya1422-Jul-09 22:08 
AnswerRe: ExecuteScalar() Pin
Mycroft Holmes23-Jul-09 0:54
professionalMycroft Holmes23-Jul-09 0:54 
QuestionSecurity tree structure Pin
Rajeshwar Code- Developer22-Jul-09 20:30
Rajeshwar Code- Developer22-Jul-09 20:30 
AnswerRe: Security tree structure Pin
infneeta22-Jul-09 21:41
infneeta22-Jul-09 21:41 
AnswerRe: Security tree structure Pin
Mycroft Holmes23-Jul-09 0:56
professionalMycroft Holmes23-Jul-09 0:56 
GeneralRe: Security tree structure Pin
Jeremy Likness26-Jul-09 3:34
professionalJeremy Likness26-Jul-09 3:34 
QuestionAUTO NUmber column in SQL server Pin
jonhbt22-Jul-09 20:02
jonhbt22-Jul-09 20:02 
AnswerRe: AUTO NUmber column in SQL server Pin
Baran M22-Jul-09 20:37
Baran M22-Jul-09 20:37 
Questionoracle query Pin
sandhya1422-Jul-09 18:57
sandhya1422-Jul-09 18:57 
AnswerRe: oracle query Pin
Baran M22-Jul-09 20:34
Baran M22-Jul-09 20:34 
GeneralRe: oracle query Pin
sandhya1422-Jul-09 20:53
sandhya1422-Jul-09 20:53 
GeneralRe: oracle query Pin
Baran M22-Jul-09 21:02
Baran M22-Jul-09 21:02 
GeneralRe: oracle query Pin
sandhya1422-Jul-09 21:37
sandhya1422-Jul-09 21:37 
Questionto include a select query inside an insert query Pin
myinstincts22-Jul-09 10:03
myinstincts22-Jul-09 10:03 
AnswerRe: to include a select query inside an insert query Pin
Blue_Boy22-Jul-09 11:25
Blue_Boy22-Jul-09 11:25 

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.