Viewing 15 posts - 34,516 through 34,530 (of 59,099 total)
Grant Fritchey (3/24/2011)
Jeff Moden (3/24/2011)
--Jeff Moden
Change is inevitable... Change for the better is not.
March 24, 2011 at 10:03 pm
HowardW (3/24/2011)
there doesn't appear to be an option to turn off SET ANSI_NULLS ON or SET QUOTED_IDENTIFIER ON parts of the script
They are functional parts of the definition of objects,...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 24, 2011 at 9:54 pm
Robert klimes (3/24/2011)
Unfortunately I do not see anywhere to stop those table option from being scripted out.
I didn't either and I've been looking! π Thanks for your very quick...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 24, 2011 at 11:39 am
Thanks again for the previous tip. Similar problem, though... there doesn't appear to be an option to turn off SET ANSI_NULLS ON or SET QUOTED_IDENTIFIER ON parts of the...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 24, 2011 at 10:26 am
Man, thanks for the very quick reply, Robert. I was in a bit of a crunch and just couldn't bring myself to use the "urgent" word. π Thank...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 24, 2011 at 10:14 am
Oh, very cool... I just found out that one of my favorite novels is going to be made into a movie. "The Martian Tales of Edgar Rice Burroughs" which...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 24, 2011 at 7:12 am
UMG Developer (3/23/2011)
--Jeff Moden
Change is inevitable... Change for the better is not.
March 24, 2011 at 6:55 am
parthi-1705 (3/23/2011)
Try this,CHARINDEX will help u
CREATE TABLE #abc_tmp
(Path nvarchar(850))
insert into #abc_tmp values('rptclientrifvdistrictgrantstatuschangelog_MillmanR_9dfb3dfa-081b-48d1-8bbf-81361bbd9cb9')
insert into #abc_tmp values('rptclientrifvdistrictgrantstatuschangelog_MeiA_e472f742-c6a3-4a70-822e-1c5417efb293')
insert into #abc_tmp values ('rptclientrifvglobalgrantproposalbytrackingnumber_BateyK_23eafa59-e222-462d-a08c-27ed8131c274')
Select SUBSTRING(Path,0, CHARINDEX('_',Path) ), * from #abc_tmp
DROP TABLE #abc_tmp
VERY clever use...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 23, 2011 at 5:49 pm
SQLJocky (3/23/2011)
@pamI agree, that dropped the processing time in half. Thanks for the suggestion. π
Please post how the code you applied Pam's suggestion to so we can...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 23, 2011 at 11:13 am
GilaMonster (3/23/2011)
Discussed here - http://sqlinthewild.co.za/index.php/2011/03/18/q-a-from-24-hours-of-pass-session/
Iβm actually in favour of nulls in a database. If thereβs no data for a column I donβt want some made up value to indicate that...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 23, 2011 at 10:57 am
opc.three (3/22/2011)
In general dynamic sql is a bad idea and you should avoid it...
In general, I disagree. π There are some very easy steps that can be taken...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 23, 2011 at 8:24 am
Grant Fritchey (3/23/2011)
...duck tour should be a blast.
Heh... not sure duck hunting season is open right now. π
--Jeff Moden
Change is inevitable... Change for the better is not.
March 23, 2011 at 7:17 am
Heh... I don't mind 2 year old threads being resurrected especially if someone has a good tip. π
--Jeff Moden
Change is inevitable... Change for the better is not.
March 23, 2011 at 7:15 am
TheSQLGuru (3/23/2011)
--Jeff Moden
Change is inevitable... Change for the better is not.
March 23, 2011 at 7:08 am
CELKO (3/22/2011)
Why don't you know the names of the staging tables and hardcode them?
Hmmm... good question, Joe.
--Jeff Moden
Change is inevitable... Change for the better is not.
March 22, 2011 at 10:42 pm
Viewing 15 posts - 34,516 through 34,530 (of 59,099 total)