Viewing 15 posts - 7,021 through 7,035 (of 8,761 total)
I thought that might be the case;-)
Here is an adjustment to the code, picks the two last entries for each subject
😎
create table #temp(candId int identity(1,1),CanNum int,name varchar(50),Attempt1 int,Attempt2 int,attempt3...
September 20, 2014 at 12:30 am
Quick suggestion, use the nodes method, check out this example
😎
DECLARE @TXML XML = '<?xml version="1.0"?>
<SEARCHREQUESTRESULT>
<DOCUMENTS>
<DOCUMENTDETAIL>
<DOCUMENTDATE />
<CONSIDERATIONAMOUNT>0</CONSIDERATIONAMOUNT>
<BOOK><![CDATA[]]></BOOK>
<PAGE><![CDATA[]]></PAGE>
<REFERENCENUMBER><![CDATA[]]></REFERENCENUMBER>
<NOTES><![CDATA[]]></NOTES>
<RETURNEDTO/>
<PARTIES>
<PARTY>
<ID>1090</ID>
...
September 19, 2014 at 10:17 pm
Andrew Kernodle (9/19/2014)
September 19, 2014 at 1:35 pm
Quick thought and as g.britton pointed out, the reference has to be exact, try this out for a size
😎
DECLARE @testXml XML;
select @testXml='<invoices>
<InvoiceNo>13537010*1</InvoiceNo>
<psship>value_psship1</psship>
<InvoiceNo>13537010*3</InvoiceNo>
<psship>value_psship2</psship>
<InvoiceNo>13537010*4</InvoiceNo>
<psship>value_psship3</psship>
<InvoiceNo>13537010*5</InvoiceNo>
<psship>value_psship4</psship>
<InvoiceNo>13537010*7</InvoiceNo>
<psship>value_psship5</psship>
</invoices>';
SELECT
INVOICE.DATA.value('.[1]','VARCHAR(50)')
FROM @testXml.nodes('/invoices')...
September 19, 2014 at 10:37 am
Quick first questions, what are the server specs, has the behaviour been trending, what is the maxdop, the threshold for parallelism, server version/edition?
😎
September 19, 2014 at 10:14 am
wolfkillj (9/19/2014)
okbangas (9/19/2014)
September 19, 2014 at 10:01 am
TomThomson (9/19/2014)
Good question.I was feeling too depressed by my nation's decision to stay under England's domination :crying:
Breaks my heart seeing such an opportunity waisted!
😎
September 19, 2014 at 4:14 am
Stewart "Arturius" Campbell (9/19/2014)
TomThomson (9/19/2014)
I was feeling too depressed by my nation's decision to stay under England's domination :crying: to do any research this morning, so I took a...
September 19, 2014 at 4:10 am
pawana.paul (9/19/2014)
I altered index with maxdop to somevalue (n). What is the query to validate that xyz index has maxdop value set to (n)?
I tried with GUI. index properties, option...
September 19, 2014 at 1:43 am
As far as I've seen, the retention issues are not the platform itself but the dependants. The technical part of the SQL Server upgrade is one of the smoothest there...
September 18, 2014 at 10:46 pm
naga.rohitkumar (9/18/2014)
Hi all,Can any one say what are the Do's and Don't for Sql server 2005 standard edition breifly
Not certain what you are indeed asking but a short list...
September 18, 2014 at 10:22 pm
There are few ways of doing this, here are two of them. The first uses a combination of GROUP BY and HAVING, the second uses ROW_NUMBER and MIN/MAX Window function.
😎
USE...
September 18, 2014 at 10:16 pm
Here is a suggestion
😎
USE tempdb;
GO
SET NOCOUNT ON;
DECLARE @SAMPLE_DATA TABLE
(
CallStartDateTime DATE ...
September 18, 2014 at 1:03 pm
Luis Cazares (9/18/2014)
Eirikur Eiriksson (9/18/2014)
Oops, used the wrong code:-P Here is the correct version, in fact the same thing Luis posted, but in SQLite dialect😎
I tested it on sqlfiddle.com and...
September 18, 2014 at 12:32 pm
Oops, used the wrong code:-P Here is the correct version, in fact the same thing Luis posted, but in SQLite dialect
😎
select
1 AS Group_ID
...
September 18, 2014 at 12:07 pm
Viewing 15 posts - 7,021 through 7,035 (of 8,761 total)