Viewing 15 posts - 34,951 through 34,965 (of 59,099 total)
Pink123 (2/23/2011)
Hi,How would represent date for 15th feb 2011 12 a.m in the same format as getdate() does?
will it be something like this in sql server 2005
'2011-02-15 00:00:00.000'
Please help
Thanks,
The following...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 23, 2011 at 4:20 pm
Ok... thanks. I'll be back.
--Jeff Moden
Change is inevitable... Change for the better is not.
February 23, 2011 at 3:38 pm
JJH82 (2/22/2011)
',2 Column_Names "FIELD_NAME" "READ_FLG" ,2 Old_Column_Values "Rural & Remote" "N" ,2 New_Column_Values "" ""'
'+2 Column_Names "ATTRIB_VALUE" "SCORE" +2...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 23, 2011 at 6:46 am
JJH82 (2/21/2011)
yes, it does, 8 Field_Name "1" "2" "3" "4" "5" "6" "7" "8"
thank you in advance
Ok... thanks... I'll try to take a stab at this tonight.
--Jeff Moden
Change is inevitable... Change for the better is not.
February 22, 2011 at 7:10 am
timotech (2/21/2011)
Hi Guys, I got it, this is the code i used, works ok
Very cool. Congrats and thanks for posting your final solution! 🙂
--Jeff Moden
Change is inevitable... Change for the better is not.
February 21, 2011 at 4:58 pm
Just a quick question, JJH82... does the number right after each coma identify how many elements there are for a given section?
--Jeff Moden
Change is inevitable... Change for the better is not.
February 21, 2011 at 4:31 pm
JJH82 (2/21/2011)
Here is a detailed structure of the source data:
1. the length of each row of string is not fixed
2. the data contained in...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 21, 2011 at 4:24 pm
deeby (2/20/2011)
I want to use a temporary table within the command...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 21, 2011 at 4:01 pm
Craig Farrell (2/21/2011)
If I'm right, you're getting something like the results of this:
SELECT 'abc' AS...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 21, 2011 at 4:00 pm
Darundo (2/21/2011)
I have data that I want...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 21, 2011 at 3:34 pm
Most of the companies that I've worked for stay behind the bleeding edge by at least a service pack or two. Some stay close to a full version behind...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 21, 2011 at 3:28 pm
If it's in a separate "batch", you can probably get a fairly good idea of the rowcount using SQL Profiler. It won't be as perfect as putting a counter...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 21, 2011 at 3:23 pm
jcrawf02 (2/21/2011)
Jeff Moden (2/21/2011)
jcrawf02 (2/21/2011)
Jeff Moden (2/21/2011)
WayneS (2/20/2011)
--Jeff Moden
Change is inevitable... Change for the better is not.
February 21, 2011 at 3:20 pm
nico van niekerk (2/20/2011)
--Jeff Moden
Change is inevitable... Change for the better is not.
February 21, 2011 at 3:08 pm
gregory.anderson (2/18/2011)
Been searching on how to concatenate rows into a single field and I found a link to a recursive CTE for unknown number of rows to concatenate,...
A recursive...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 21, 2011 at 3:02 pm
Viewing 15 posts - 34,951 through 34,965 (of 59,099 total)