Viewing 15 posts - 1,276 through 1,290 (of 2,469 total)
exec xp_msver
**ASCII stupid question, get a stupid ANSI !!!**
August 25, 2005 at 1:32 pm
..or...now that you're all rested and back with renewed vigour from the vacation - you could go to "resources" - "columnists" - where under each group, the columnists are listed...
**ASCII stupid question, get a stupid ANSI !!!**
August 25, 2005 at 12:23 pm
happy to help! the reason for my second post was to explicitly display which was 'previous' and which 'next'...![]()
**ASCII stupid question, get a stupid ANSI !!!**
August 25, 2005 at 12:08 pm
rg - i had forgotten about this even though it has been addressed in quite a few posts...this is why you're the rg and i'm just brain-dead! ![]()
**ASCII stupid question, get a stupid ANSI !!!**
August 25, 2005 at 9:57 am
you could do something like this:
SELECT IDENTITY(INT,1,1) AS Row_Number, * INTO #Results FROM tblMytable WHERE .... SELECT * FROM #Results ORDER BY Row_Number
**ASCII stupid question, get a stupid ANSI !!!**
August 25, 2005 at 9:16 am
Ryan - I'll take a stab at it - though things are often clear inside my own head I may lose something in the translation...![]()
**ASCII stupid question, get a stupid ANSI !!!**
August 25, 2005 at 9:09 am
SELECT Position = 'Previous', seqID = MAX(ID) FROM myTbl WHERE seqID 145 AND STATUS BETWEEN 1 AND 3 ORDER BY 1 DESC
making a mental note to myself never to...
**ASCII stupid question, get a stupid ANSI !!!**
August 25, 2005 at 5:30 am
joejoe..another method - again, as gilamonster says - won't work if the characters are anywhere embedded in your string...
select colname from tbl where
cast(substring(colname, 2, len(colname) - 1) as integer) >...
**ASCII stupid question, get a stupid ANSI !!!**
August 25, 2005 at 5:24 am
if the characters A & B are in the beginning or the end....
if in the beginning, you could do -
select colName from tbl where colName like 'A%' or colName...
**ASCII stupid question, get a stupid ANSI !!!**
August 24, 2005 at 10:44 pm
you could try doing something like this:
SELECT PreviousID = MAX(ID) FROM myTbl WHERE seqID 145 AND STATUS BETWEEN 1 AND 3
**ASCII stupid question, get a stupid ANSI !!!**
August 24, 2005 at 9:51 pm
sorry ranga - but I really wish you'd picked any example but this...formatting and display have nothing to do with logic and rules...(imo)!![]()
**ASCII stupid question, get a stupid ANSI !!!**
August 24, 2005 at 7:20 pm
ryan - completely misunderstood your question - thought you wanted to update 3 different rows (as opposed to 3 columns in a single row) - only became clear when you...
**ASCII stupid question, get a stupid ANSI !!!**
August 24, 2005 at 7:17 pm
would you pl. do me a favour and post the data from each of your tables ?!?!
i ran a quick test on some "dummy" tables and i did get 3...
**ASCII stupid question, get a stupid ANSI !!!**
August 24, 2005 at 3:41 pm
you know SLFine...things are difficult enough when we do this in English...why don't we just leave other languages out till we've got at least one mastered ?!?! ![]()
**ASCII stupid question, get a stupid ANSI !!!**
August 24, 2005 at 3:28 pm
ryan - did you try it with the syntax i sent you - substituting x.cat with x.value of course...you should get 3 updates with that one statement...???
**ASCII stupid question, get a stupid ANSI !!!**
August 24, 2005 at 3:23 pm
Viewing 15 posts - 1,276 through 1,290 (of 2,469 total)