Viewing 12 posts - 1 through 12 (of 12 total)
That's exactly what I was looking for!
If I wanted to include a sequence number (1,2,3,,,) for each point based on the order within the XML, how would I do that?
November 2, 2010 at 9:43 am
Well, can I do this without putting the XML into a table with a key?
Since the XML is in a variable, @theXML, can I get the detail out of it...
November 2, 2010 at 8:44 am
If that's the case, what would be the recommended way to indicate a set of "alias" field names to use for presentation, whether for exporting data, linking to Access databases,...
July 30, 2009 at 12:07 pm
I don't know enough to answer that question.
The databases are on two different servers with different versions of SQL Server.
My DBA is aware of the problem I'm having, so, with...
December 11, 2007 at 12:28 pm
The view has no out of the ordinary settings that I'm aware of. I created it by using the designer window, selecting the tables involved, checking the columns...
December 7, 2007 at 7:03 am
I'm sorry I misunderstood your question.
Yes, the guid went into the correct column.
December 6, 2007 at 2:34 pm
I took the sql of the view verbatim and replaced the select * with that sql statement, so yes, I had the same number of fields.
I don't want to use...
December 6, 2007 at 2:26 pm
If I substitute the complete SQL of the view in the insert,
Insert into output_table
Select distinct TOP (100) PERCENT field1, field2, NULL as SPAuditID
...
December 6, 2007 at 1:44 pm
Thanks for testing it out.
I don't see how the column order can be playing a part, because, if I set the value of SPAuditID to NEWID() in the view, then...
December 6, 2007 at 12:44 pm
I have no defaults or triggers on my output table.
I've scripted out my table definition as a Create Table statement and have attached it here. Maybe that...
December 6, 2007 at 12:19 pm
In my view, the part of the select has that deals with that guid field has
NULL AS SPAuditID
I know my fields are all in corresponding order in my insert statement,...
December 6, 2007 at 10:18 am
Viewing 12 posts - 1 through 12 (of 12 total)