Viewing 15 posts - 8,431 through 8,445 (of 8,760 total)
Lowell (5/1/2014)
May 1, 2014 at 9:33 pm
A simple solution
๐
with p as
(
select 'asdf1234' as Delivery_Site union all
select 'asdf 1234' union all
select ' asdf asdf ' union all
select ''
)
,TXT_INFO AS
(
SELECT
...
May 1, 2014 at 11:54 am
Why not try Jeff Moden's splitter, pass space as delimiter?
๐
May 1, 2014 at 10:17 am
cvkk2010 (4/30/2014)
I need help to execute a taxk.
I have text file which has SQL Statements something like
Select top 10 * from Table 1
Select top 10 * from Table 2
Select...
April 30, 2014 at 11:03 pm
On a mediocre laptop, 10000000 rows returned in 145 ms and 100000 inserts in 75 ms, I think version 1 is promising.
๐
April 30, 2014 at 2:08 pm
mister.magoo (4/30/2014)
Or I have a crappy 2012 install?
Few weeks back, before upgrading the 2012 system Iยดm working on to 2014, I ran into a similar behavior when forgetting the filter/limit...
April 30, 2014 at 1:46 pm
mister.magoo (4/30/2014)
I get the same crappy performance on 2012 as 2014 for these...I haven't got a 2008 to test on right now.
That means I might be missing something:-P
Thanks!
April 30, 2014 at 1:19 pm
Grant Fritchey (4/30/2014)
April 30, 2014 at 1:14 pm
Jeff Moden (4/30/2014)
Eirikur Eiriksson (4/30/2014)
INNER JOIN NUMBERS NMON LEN(MT.MYTEMP_STR) <= NM.N
I'm thinking that bit of code cannot possibly be correct even for the old versions.
Thanks Jeff, this I missed!
๐ that...
April 30, 2014 at 12:59 pm
He he, somehow my phone didn't show the earlier reply, kind of awkward :hehe:
My first approach would be creating a table with a different name but same structure, copy the...
April 30, 2014 at 12:22 pm
Quick thought, how about extracting the node to an encrypted table, delete it from the XML and when needed, join the two together?
๐
April 30, 2014 at 11:48 am
SQLdude412 (4/30/2014)
Eirikur Eiriksson (4/30/2014)
To further on Lowell's point, what is the output of "select datalength(xml_column) from bad_table"? Should be about 70% of the nvarchar conversion normally.๐
Thanks for your reply.
The value...
April 30, 2014 at 11:43 am
To further on Lowell's point, what is the output of "select datalength(xml_column) from bad_table"? Should be about 70% of the nvarchar conversion normally.
๐
April 30, 2014 at 11:30 am
Sean Lange (4/30/2014)
Jeremy Brown (4/30/2014)
April 30, 2014 at 9:53 am
Viewing 15 posts - 8,431 through 8,445 (of 8,760 total)