Viewing 15 posts - 52,231 through 52,245 (of 59,091 total)
noeld (3/10/2006)
For some things, you don't need the tally table
SELECT SentenceID,
datalength(Left(' '+y.Sentence+' ', N)) - datalength(replace(Left(' '+y.Sentence+' ', N), ' ', ''))InSentenceNo,
SUBSTRING(' '+y.Sentence+' ',N+1,CHARINDEX('...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 2, 2008 at 11:47 pm
Carl E. Campbell (3/10/2006)
I'm starting to get the hang of using these tally tables, but I'm a little foggy on the sequence of events (my experience up 'till now is...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 2, 2008 at 11:45 pm
Take a look at the URL in my signature line... it'll show you how to post some data so we can play with the same data as you...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 2, 2008 at 9:26 am
The problem is, that YOU don't own Master... Microsoft does. They can put or remove anything they like, including code that doesn't belong to them, during any service pack...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 2, 2008 at 9:25 am
You need to double up on the embedded single quotes...
xp_cmdshell 'bcp "select CUSTOMER_ID,Email1 from R4W_001.dbo.SYSCUST_AUDIT where Email1=''abc@sarasu.com''" queryout "C:\SoundPub\EmailList\durga2.csv" -T -c'
--Jeff Moden
Change is inevitable... Change for the better is not.
March 2, 2008 at 9:17 am
Heh... considering that it's been over two weeks, I guess you do mind.
Thanks, anyway 😉
--Jeff Moden
Change is inevitable... Change for the better is not.
March 1, 2008 at 10:42 pm
Heh... this is where I cheat like hell... everything is possible if you have the imagination for it... remember, before you can think outside the box, you must first realize...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 1, 2008 at 10:31 pm
Any feedback on this? Did it do what you wanted?
--Jeff Moden
Change is inevitable... Change for the better is not.
March 1, 2008 at 10:18 pm
In that case, you can either use BCP with a format file that uses \" as part of the delimiter ("," would be "\",\"" in the delimiter column,...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 1, 2008 at 10:07 pm
No... haven't used C2 Auditing... I forgot about that... might also be interesting to try.
--Jeff Moden
Change is inevitable... Change for the better is not.
March 1, 2008 at 9:58 pm
That brings up an interesting point, Jack... I wonder if you can make a Trigger that has DDL Trigger associated with it and between the two, make it impossible even...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 1, 2008 at 5:19 pm
I've read about it and it just makes sense to me. The whole idea of set based processing is to make the paradigm shift from thinking about what to...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 1, 2008 at 12:45 pm
Just my 2 cents...
I agree... having a default on the "Created" columns does the job for those... but, there's a catch... what happens if someone tries to UPDATE those columns?...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 1, 2008 at 10:50 am
Greg...
What do you want to see for output?
--Jeff Moden
Change is inevitable... Change for the better is not.
March 1, 2008 at 10:19 am
Tom,
Just curious... Are you saying that "CM" is the abbreviation for "Customers" and that "CA" is the abbreviation for {customer}"Addresses"?
--Jeff Moden
Change is inevitable... Change for the better is not.
March 1, 2008 at 10:16 am
Viewing 15 posts - 52,231 through 52,245 (of 59,091 total)