Viewing 15 posts - 4,891 through 4,905 (of 5,590 total)
Good feedback Jeff.
Probably not random enough, but I changed the 5 initial rows (abc xxxxx, etc.) to be:
1st row: abc 1,
2nd row: zyx 100,
3rd row: def 10000,
4th row: ghi 1000000,
5th...
January 11, 2010 at 9:17 pm
Okay, after playing around with this for a bit, I came up with a solution that does just a single scan.
Part 1: build the test environment. This builds a test...
January 11, 2010 at 6:54 pm
lmu92 (1/11/2010)
January 11, 2010 at 5:46 pm
vstitte (1/11/2010)
Wayne, Cool script.BUT in the final Select statement, did you mean to use column names instead of the variables?
WHOOPS! You are exactly right about that! Good catch. I have...
January 11, 2010 at 5:37 pm
CirquedeSQLeil (1/11/2010)
WayneS (1/11/2010)
Well, the concept comes from Jeff. 'nuf said. 😉
Heh, started testing it after my last post. Still need to look at exec plans. From 2 records...
January 11, 2010 at 3:05 pm
Well, the concept comes from Jeff. 'nuf said. 😉
January 11, 2010 at 2:46 pm
Try this.
-- if temp table already exists (failed previous run), drop it
if OBJECT_ID('tempdb..#test') IS NOT NULL DROP TABLE #test
-- simulate the table with the data in it.
-- NOTE how your...
January 11, 2010 at 2:42 pm
Thanks Gus.
I saw that, and I'm sure that I fixed it before posting.... 😉
Can I blame in on the way things get quoted 'round here?
January 11, 2010 at 2:07 pm
... and PATINDEX.
You might want to check out the article by Phil Factor on http://www.simple-talk.com dealing with the "quirky update". It shows an excellent example of splitting up a line...
January 11, 2010 at 2:04 pm
rnikandrov (1/11/2010)
the plan is to:
#1 import file into single array
#2 parse the right line into temp table, so that i can work with it
can you...
January 11, 2010 at 11:00 am
This might help you out.
declare @proc sysname
set @proc = '<Your Procedure Name here>'
SELECT schema_name(sp.schema_id) [Schema], object_name(sasm.object_id) [Procedure]
FROM sys.all_sql_modules sasm
INNER JOIN sys.procedures...
January 11, 2010 at 10:45 am
Manic Star (1/6/2010)
Lynn Pettis (1/6/2010)
Jen, based on what I have read, I'd enjoy the opportunity to work with you.You'd be welcome here too 🙂
Maybe I'm chiming in maybe a bit...
January 6, 2010 at 6:47 pm
clive-421796 (1/1/2010)
January 4, 2010 at 1:08 pm
Anyone that wants to review an article of fixing Msg 8992 DBCC CHECKDB errors after upgrading from sql 2000, please PM me with how to send it to you. It's...
December 29, 2009 at 3:03 pm
Jack Corbett (12/29/2009)
My commute is about 3 minutes by foot. It would take me longer to drive. 😛
Guess who to call after hours? 😀
December 29, 2009 at 3:00 pm
Viewing 15 posts - 4,891 through 4,905 (of 5,590 total)