Viewing 15 posts - 3,046 through 3,060 (of 3,543 total)
Jonathan,
Don't you mean
ORDER BY Test DESC
Your solution works because the marks are in ascending order with Test.
September 22, 2003 at 6:59 am
What SP are you on?
If you are on SP3 and have registered more than one SQL Server then refer to
September 22, 2003 at 6:34 am
You found the same as I did. I think it is a quirk of sql. I did the following tests, the first value is what I set a datetime...
September 22, 2003 at 3:09 am
Frank,
Falling On The Floor Laughing (FOTFL or FOFL)
Acronymmmmmmmssssssssss Agh!
September 19, 2003 at 7:35 am
Barry,
It's to do with concatenation. When you put text between quotes on separate lines sql will include CR/LF in the text. Sometimes it is useful sometimes not.
September 18, 2003 at 10:36 am
quote:
An I having a deja vu event?This discussion has been lead?!? before
Swings and roundabouts...
September 18, 2003 at 9:11 am
quote:
Why should it be harsh, David? If you can't answer the question in time, well, then you don't answer it... or receive...
September 18, 2003 at 9:07 am
select avg(discount) from (select top 5 discount from discounts) a
September 18, 2003 at 7:16 am
Depending on your definition of 'query' you could use bcp
exec master..xp_cmdshell 'bcp "select ... from datbase..table"
queryout outputfilename
-c -Sserver -Uuser -Ppassword'
or
September 18, 2003 at 7:07 am
CREATE TABLE #A(ID1 int,ID2 INT,
RowID nvarchar(15),
Created Datetime,CreatedBy nvarchar(25),
Field nvarchar(25),
OldValue nvarchar(25),NewValue nvarchar(25))
INSERT INTO #A
SELECT 0,0,RowID,Created,CreatedBy,Field,OldValue,NewValue
FROM AuditTbl
ORDER BY RowID,Created,Field
DECLARE...
September 18, 2003 at 5:56 am
Depending on what software you are going to use. Here is vbscript code that will count the number of commas in each line.
Const ForReading =...
September 18, 2003 at 5:36 am
You could use a hex editor if you have one. It would also find out if the file contains any 0x00 characters. Normally in these situations I'd write a one...
September 17, 2003 at 10:01 am
Check the data file, if you have copied an iis log file (which your data looks like) that is still being used by iis then the file will have approx...
September 17, 2003 at 9:15 am
Which scripts do you mean, from the scripts section or from posts. If you are copying and pasting from posts you have to check the formatting, not all code will...
September 17, 2003 at 7:13 am
I presume you are importing from a text file and delimiting by comma. If so DTS should ignore any columns in excess of the mapping and set null for any...
September 17, 2003 at 7:07 am
Viewing 15 posts - 3,046 through 3,060 (of 3,543 total)