Viewing 15 posts - 8,506 through 8,520 (of 8,754 total)
It would be interesting to see the performance of PS when working with sets larger than the 2Gb limits of the XML data type. 😎
April 24, 2014 at 6:57 am
jhinch (4/24/2014)
April 24, 2014 at 5:07 am
SQLCurious (4/24/2014)
April 24, 2014 at 4:32 am
DBA12345 (4/23/2014)
if trauma has atleast 1 then clm2 in table2 would be 1
if infec has atleast 1 then clm2 in table2 would be...
April 24, 2014 at 4:24 am
Hi Matthew,
and thank you for this article.
Few comments, firstly the sp_xml_preparedocument and sp_xml_removedocument have some limitations and quite an overhead, I'm very hesitant recommending / implementing them on a...
April 24, 2014 at 2:51 am
In SSMS table content editor, press CTRL+3 and change the sql statement to select * from table_name, then press CTRL+R.
😎
April 24, 2014 at 1:08 am
twin.devil (4/24/2014)
1) create a custom unique number (like combination of DateTime plus any other Alpha/numeric number)
Something along these lines? (ugly but works) 😎
(121 retains the milliseconds while 126 and 127...
April 24, 2014 at 12:49 am
Confusing Queries (4/23/2014)
I am working on an ASP.net web application which inserts new record into an underlying table. It is actaully a ConfirmationNumber and should be unieque. I have...
April 23, 2014 at 11:50 pm
Here is an example using AdventureWorks2012
😎
USE AdventureWorks2012;
GO
DECLARE @SOH_XML XML;
SELECT @SOH_XML = (
SELECT
SalesOrderID
,RevisionNumber
,OrderDate
,DueDate
,ShipDate
...
April 23, 2014 at 11:42 pm
Try using a variable of the type "object" to retrieve the recordset. Then a variable of the same type as the column in a For Each loop.
😎
April 23, 2014 at 10:20 am
Matt Miller (#4) (4/23/2014)
I was going to go down the route of a CTE as well, but the OP mentioned 2005.
My bad, then the option is to nest it
😎
DECLARE @XML...
April 23, 2014 at 7:08 am
ChrisM@Work (4/23/2014)
I'd like to think OP will collect it from a list...
My point exactly!
😎
April 23, 2014 at 5:16 am
ChrisM@Work (4/23/2014)
hoseam (4/23/2014)
April 23, 2014 at 5:03 am
hoseam (4/23/2014)
April 23, 2014 at 4:40 am
Viewing 15 posts - 8,506 through 8,520 (of 8,754 total)