Click here to Skip to main content
15,918,168 members
Home / Discussions / Database
   

Database

 
GeneralSQL Server Connection Attempt Never Times Out Pin
shultas10-Aug-04 5:24
shultas10-Aug-04 5:24 
Generalvery urgent - pls help: sql server data screwed Pin
matthias s.9-Aug-04 4:07
matthias s.9-Aug-04 4:07 
GeneralRe: very urgent - pls help: sql server data screwed Pin
Bill Dean9-Aug-04 5:56
Bill Dean9-Aug-04 5:56 
GeneralRe: very urgent - pls help: sql server data screwed Pin
matthias s.9-Aug-04 13:39
matthias s.9-Aug-04 13:39 
GeneralRe: very urgent - pls help: sql server data screwed Pin
Colin Angus Mackay9-Aug-04 6:11
Colin Angus Mackay9-Aug-04 6:11 
GeneralRe: very urgent - pls help: sql server data screwed [addendum] Pin
Colin Angus Mackay9-Aug-04 6:17
Colin Angus Mackay9-Aug-04 6:17 
GeneralRe: very urgent - pls help: sql server data screwed [addendum] Pin
matthias s.9-Aug-04 13:42
matthias s.9-Aug-04 13:42 
GeneralFOR XML EXPLICIT Pin
Anonymous9-Aug-04 3:17
Anonymous9-Aug-04 3:17 
Hello! Anybody can help me to solve this problem?
I have a stored procedure like:

CREATE PROCEDURE PROC
@id int AS
SELECT 1 as tag,
0 as parent,
t1.name as 'PROC!1!name1',
t2.name as 'PROC!1!name2'
FROM Table1 as t1, table2 as t2
WHERE (t1.id = @id AND t1.id = t2.id)
FOR XML EXPLICIT

t1.id and t2.id are keys and there'is a relationship between them.
When I call this procedure an error occurs -
"FOR XML EXPLICIT query contains the invalid column name 'id'. Use the TAGNAME!TAGID!ATTRIBUTENAME[!..] formatwhere TAGID is a positive integer"

When I change EXPLICIT with AUTO everything is ok
GeneralNormalization question Pin
Roger Alsing8-Aug-04 20:23
Roger Alsing8-Aug-04 20:23 
GeneralRe: Normalization question Pin
slvrscremr9-Aug-04 3:31
slvrscremr9-Aug-04 3:31 
GeneralRe: Normalization question Pin
Roger Alsing9-Aug-04 3:32
Roger Alsing9-Aug-04 3:32 
GeneralRe: Normalization question Pin
slvrscremr9-Aug-04 3:57
slvrscremr9-Aug-04 3:57 
GeneralRe: Normalization question Pin
slvrscremr9-Aug-04 4:09
slvrscremr9-Aug-04 4:09 
GeneralRe: Normalization question Pin
Steven Campbell9-Aug-04 10:26
Steven Campbell9-Aug-04 10:26 
GeneralThreads in stored procedures Pin
Member 2866418-Aug-04 19:54
Member 2866418-Aug-04 19:54 
QuestionOptimezed use ADO.Net? Pin
rbarzallo7-Aug-04 6:58
rbarzallo7-Aug-04 6:58 
AnswerRe: Optimezed use ADO.Net? Pin
slvrscremr9-Aug-04 3:23
slvrscremr9-Aug-04 3:23 
GeneralORACLE / ADO .NET: TNS: Packet Writer Failure in parameterized query Pin
slvrscremr6-Aug-04 8:18
slvrscremr6-Aug-04 8:18 
GeneralMultiple Excel files Pin
janigorse6-Aug-04 7:58
janigorse6-Aug-04 7:58 
GeneralRe: Multiple Excel files Pin
Anonymous16-Aug-04 20:26
Anonymous16-Aug-04 20:26 
Generalbackup access database Pin
sungsunpark6-Aug-04 5:47
sungsunpark6-Aug-04 5:47 
GeneralRe: backup access database Pin
RichardGrimmer12-Aug-04 1:32
RichardGrimmer12-Aug-04 1:32 
GeneralSearching problem (serious!) Pin
RoyRose786-Aug-04 1:03
RoyRose786-Aug-04 1:03 
GeneralRe: Searching problem (serious!) Pin
Michael Potter6-Aug-04 4:21
Michael Potter6-Aug-04 4:21 
GeneralRe: Searching problem (serious!) Pin
RoyRose786-Aug-04 4:57
RoyRose786-Aug-04 4:57 

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.