Viewing 15 posts - 6,556 through 6,570 (of 8,761 total)
Quick cross-tab suggestion
😎
USE tempdb;
GO
SET NOCOUNT ON;
;WITH SAMPLE_DATA (ColumnA,ColumnB) AS
(
SELECT 1 AS ColumnA,88 AS ColumnB UNION ALL
SELECT 2, 99 UNION ALL
...
November 19, 2014 at 8:16 am
Quick solution which uses a recursive CTE, should be enough to get you passed this hurdle
😎
USE tempdb;
GO
SET NOCOUNT ON;
DECLARE @TXML XML =
'<SecureEvent EDate="08/04/2011" ID="47854303" InternalSecureEventID="154472406">
<SecureEventDate>08/04/2011</SecureEventDate>
<TimestampCreate>08/04/2011...
November 18, 2014 at 7:36 pm
nikki123 (11/18/2014)
SELECT
HEADER.DATA.value('@CLM_ID', 'NVARCHAR(max)') AS CODE,
LINE.DATA.value('@CLM_ID','NVARCHAR(MAX)') AS CLM_IDLine,
DIAG.DATA.value('@DX_code','NVARCHAR(MAX)') as DX
FROM ...
November 18, 2014 at 7:35 am
serg-52 (11/18/2014)
kriskumark96 (11/17/2014)
The three queries is of the same tables with different where condition are used , so that we cannot have a join or cross join on it
Or
Is there...
November 18, 2014 at 3:33 am
Evil Kraig F (11/17/2014)
Eirikur Eiriksson (11/17/2014)
The namespace is implicitly created when the variable is declared, no way of telling the difference between user::var and usre::var when you call var.
Okay, you...
November 18, 2014 at 3:21 am
kriskumark96 (11/17/2014)
Hi,The three queries is of the same tables with different where condition are used , so that we cannot have a join or cross join on it
There is nothing...
November 18, 2014 at 1:57 am
Evil Kraig F (11/17/2014)
Ah, that. The chioces are User:: and System::. Why would I wan't to...
November 17, 2014 at 3:38 pm
nikki123 (11/17/2014)
Got an other issue how do i get to the node Line , use d a OUTERAPPLY but the data is showing null
SELECT
x.item.value('@CLM_ID', 'NVARCHAR(max)') AS CODE,
g.line.value('@CLM_ID','NVARCHAR(MAX)') as...
November 17, 2014 at 3:03 pm
Evil Kraig F (11/17/2014)
Eirikur Eiriksson (11/17/2014)
November 17, 2014 at 2:57 pm
Quick suggestions, open the package in a text editor and search for the variable name, there should only be one deceleration with that name but you might find another with...
November 17, 2014 at 2:40 pm
Quick thought, don't use the traversing // if the position of the element is known, far more expensive than the direct reference.
😎
SELECT
x.item.value('@CLM_ID', 'NVARCHAR(max)') AS CODE
FROM @x.nodes('CLAIM/INPUT/HEADER') AS x(item)
November 17, 2014 at 2:35 pm
Steve Jones - SSC Editor (11/17/2014)
After my deletion of this thread a few weeks back, I'm nervous about granting this.
That kind of summarizes it doesn't it? If there was an...
November 17, 2014 at 12:23 pm
November 17, 2014 at 10:29 am
balasaukri (11/17/2014)
It says, Database Mirroring is not supported by ODBC 11.0Please refer the link http://technet.microsoft.com/en-us/library/hh568445(v=sql.110).aspx
Then my suggestion is to check out EasySoft's odbc driver
😎
November 17, 2014 at 10:26 am
Guess you are on RHEL 6 given your kernel version;-), check this out "Microsoft ODBC Driver 11 for SQL Server on Linux"
😎
November 17, 2014 at 9:57 am
Viewing 15 posts - 6,556 through 6,570 (of 8,761 total)