Click here to Skip to main content
15,908,254 members
Home / Discussions / Database
   

Database

 
GeneralRe: data from 2 different tables linked with a join. Pin
Ricardo Casquete4-Apr-06 23:36
Ricardo Casquete4-Apr-06 23:36 
GeneralRe: data from 2 different tables linked with a join. Pin
massimo Nicoletti5-Apr-06 0:00
massimo Nicoletti5-Apr-06 0:00 
GeneralRe: data from 2 different tables linked with a join. Pin
Ricardo Casquete5-Apr-06 0:06
Ricardo Casquete5-Apr-06 0:06 
GeneralRe: data from 2 different tables linked with a join. Pin
massimo Nicoletti18-Apr-06 20:22
massimo Nicoletti18-Apr-06 20:22 
QuestionQuery Analyzer and Languages Pin
phimix3-Apr-06 2:49
phimix3-Apr-06 2:49 
QuestionUser Creation in SQL Server 2005 Pin
Brendan Vogt2-Apr-06 21:08
Brendan Vogt2-Apr-06 21:08 
QuestionArray in SQL Pin
Brendan Vogt2-Apr-06 21:02
Brendan Vogt2-Apr-06 21:02 
AnswerRe: Array in SQL Pin
Colin Angus Mackay2-Apr-06 23:18
Colin Angus Mackay2-Apr-06 23:18 
Two ways I can think of... [1] Call the stored procedure multiple times for each role (or create a separate SP for adding the roles) or [2] pass the role names in as a comma separated string and parse the string in the stored procedure.

There may be a third possibility but I've not had a chance to really look at it and that is passing an XML fragment into the stored procedure. SQL Server 2005 has better XML processing capabilities than SQL Server 2000 and that may be a possibility. However, I've not really looked at the XML capabilities of SQL Server 2005 yet, so I cannot say for certain.

ColinMackay.net
Scottish Developers are looking for speakers for user group sessions over the next few months. Do you want to know more?

GeneralRe: Array in SQL Pin
Brendan Vogt3-Apr-06 0:57
Brendan Vogt3-Apr-06 0:57 
GeneralRe: Array in SQL Pin
Colin Angus Mackay3-Apr-06 2:11
Colin Angus Mackay3-Apr-06 2:11 
GeneralRe: Array in SQL Pin
Brendan Vogt4-Apr-06 4:14
Brendan Vogt4-Apr-06 4:14 
GeneralRe: Array in SQL Pin
Colin Angus Mackay4-Apr-06 5:21
Colin Angus Mackay4-Apr-06 5:21 
QuestionRe: Array in SQL Pin
Brendan Vogt10-Apr-06 3:56
Brendan Vogt10-Apr-06 3:56 
AnswerRe: Array in SQL Pin
HimaBindu Vejella3-Apr-06 2:16
HimaBindu Vejella3-Apr-06 2:16 
AnswerRe: Array in SQL Pin
PaulMcKenzie4-Apr-06 11:07
PaulMcKenzie4-Apr-06 11:07 
AnswerRe: Array in SQL Pin
Igor Sukhov4-Apr-06 15:38
Igor Sukhov4-Apr-06 15:38 
QuestionHow to uPload a photo?:) Pin
coolshad2-Apr-06 11:06
coolshad2-Apr-06 11:06 
AnswerRe: How to uPload a photo?:) Pin
Dinuj Nath2-Apr-06 19:51
Dinuj Nath2-Apr-06 19:51 
QuestionOleDbException:"no value given for one or more required parameters" Pin
MohammadAmiry2-Apr-06 10:06
MohammadAmiry2-Apr-06 10:06 
QuestionNewbie ? User Defined SQL Types and C# Pin
verniy_muzhschina1-Apr-06 19:05
verniy_muzhschina1-Apr-06 19:05 
QuestionViewing large databases Pin
Pius__X1-Apr-06 10:14
Pius__X1-Apr-06 10:14 
AnswerRe: Viewing large databases Pin
Colin Angus Mackay1-Apr-06 11:11
Colin Angus Mackay1-Apr-06 11:11 
GeneralRe: Viewing large databases Pin
Pius__X1-Apr-06 12:10
Pius__X1-Apr-06 12:10 
GeneralRe: Viewing large databases Pin
Colin Angus Mackay1-Apr-06 12:26
Colin Angus Mackay1-Apr-06 12:26 
GeneralRe: Viewing large databases Pin
Pius__X2-Apr-06 1:16
Pius__X2-Apr-06 1:16 

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.