Viewing 15 posts - 2,221 through 2,235 (of 5,590 total)
Chris,
Interesting code. Do you have any performance testing on your method compared to the DelimitedSplit8k function? (Click here for the latest Delimited Split Function.)
December 2, 2010 at 10:21 am
Junglee_George (12/2/2010)
HiPlease have a look into this article also
http://www.mssqltips.com/tip.asp?tip=1556
Thanks
This is an interesting article; however there are several things that are just flat-out wrong with it, especially pertaining to table variables....
December 2, 2010 at 10:02 am
mtillman-921105 (12/1/2010)
I'm glad to know most people usually still use temp tables rather than variables, I was afraid I was just being...
December 1, 2010 at 7:50 pm
Good timing Jason - I was going to look for this thread tomorrow to get the pdf. Thanks for bringing it to the front!
December 1, 2010 at 7:26 pm
Duplicate post. Please post all replies here
December 1, 2010 at 3:08 pm
Ken Sturgeon (11/30/2010)
December 1, 2010 at 3:06 pm
Table variables can't use statistics, so the optimizer treats them as having just one row. Even if you use the OPTION RECOMPILE hint, it knows nothing about the uniqueness/density of...
December 1, 2010 at 2:54 pm
If one of those columns is a PK, you could try:
;
WITH CTE AS
(
SELECT PK-COLUMN From dbo.emp_A Where EMP_state = 'PA'
EXCEPT
SELECT PK-COLUMN From Obbeaver.RevProd.dbo.emp_A
)
INSERT INTO dbo.emp_A
(Column1,Column2,Column3,Column4,Column5)
Select Column1,Column2,Column3,Column4,Column5
From dbo.emp_A
...
December 1, 2010 at 2:17 pm
CirquedeSQLeil (12/1/2010)
WayneS (12/1/2010)
CirquedeSQLeil (11/30/2010)
Jeff Moden (11/30/2010)
CirquedeSQLeil (11/30/2010)
Good stuff Jeff. Got that spackle article out pretty quick.
Thanks, Jason. Heh... When Steve first came out with the "Requested Articles" forum,...
December 1, 2010 at 1:33 pm
CirquedeSQLeil (11/30/2010)
Jeff Moden (11/30/2010)
CirquedeSQLeil (11/30/2010)
Good stuff Jeff. Got that spackle article out pretty quick.
Thanks, Jason. Heh... When Steve first came out with the "Requested Articles" forum, I banged...
December 1, 2010 at 12:53 pm
Gianluca Sartori (12/1/2010)
WayneS (12/1/2010)
You might be able to plan around with generating the query plan without the function calls, and then store that plan for use by these queries?
I don't...
December 1, 2010 at 12:40 pm
david.griffiths 57552 (12/1/2010)
Yes the spreadsheet has the passwords
-- Set the UserName and Password columns to how they are specified in the spreadsheet.
-- Set the path/name of the spreadsheet, and the...
December 1, 2010 at 12:33 pm
Just curious... when creating sql logins, you need to specify a password. Does the Excel spreadsheet also have that specified, or how are you implementing that?
December 1, 2010 at 9:42 am
JD Gonzalez (12/1/2010)
I'm curious as to why you made this a table-valued function v. a scalar valued function? ...
December 1, 2010 at 9:40 am
Gianluca Sartori (12/1/2010)
WayneS (12/1/2010)
Brandie Tarvin (12/1/2010)
I don't see ISPALUSER in BOL. Can you script that function out for me?
Thank you, Wayne!
It also took me to Paul Ibson's...
December 1, 2010 at 9:34 am
Viewing 15 posts - 2,221 through 2,235 (of 5,590 total)