Viewing 15 posts - 3,256 through 3,270 (of 6,037 total)
to show what ID ranges are already used so the users can pick from the unused ones.
So, users actually need unused ID's, not used ones?
:hehe:
Why don't you want to...
_____________
Code for TallyGenerator
December 6, 2007 at 2:51 pm
And, how do you think it is sorted?
_____________
Code for TallyGenerator
December 6, 2007 at 2:41 pm
Actually HOST_NAME() is a system function.
As well as DB_NAME(), USER, SYSTEM_USER, etc.
You can use it in any SELECT statement.
Look for details in BOL.
_____________
Code for TallyGenerator
December 5, 2007 at 7:21 pm
If HOST_NAME() is what you need?
_____________
Code for TallyGenerator
December 5, 2007 at 7:01 pm
If to assume that "hits" is a positive integer number then this should work:
SELECT {blah}
FROM {sometable}
ORDER BY CASE WHEN @sort = '{whatever}' THEN STR(2147483647-hits, 10) ELSE name END ASC
_____________
Code for TallyGenerator
December 5, 2007 at 4:17 pm
I guess it's a wrong forum for this question.
SQL Server 7,2000 don't support such constructions.
_____________
Code for TallyGenerator
December 4, 2007 at 4:11 pm
You may create procedure as system procedure in master database.
Then it will be executed in context of current database.
_____________
Code for TallyGenerator
December 4, 2007 at 3:31 pm
You may enclose whole nasty part in a view.
At least it will be hidden from your eyes. 🙂
[Code]
SELECT
cc.vchrCustomer
,tintWeekNo
...
_____________
Code for TallyGenerator
December 3, 2007 at 4:23 pm
Video games are OK.
But when after competion of 4th year in University we were invoilved in checking enrolling exams...
Gosh! Just 4 year ago we all completed similar tasks! And completed...
_____________
Code for TallyGenerator
December 3, 2007 at 3:58 pm
Any chance it can cause?
_____________
Code for TallyGenerator
December 3, 2007 at 3:50 pm
Another very useful thing is BCP utility.
Look in BOL for complete description.
_____________
Code for TallyGenerator
December 3, 2007 at 2:36 pm
Can anybody give me one simple reason for those RTRIM functions you guys put everywhere?
_____________
Code for TallyGenerator
December 3, 2007 at 2:25 pm
Not quite Russian...
In Russian it would be "Sergey".
😉
But key word is "living in".
Of course. 🙂
http://tvnz.co.nz/view/page/1180693
_____________
Code for TallyGenerator
December 2, 2007 at 5:29 pm
Jeff Moden (11/30/2007)
Heh... oh yeah... almost forgot..."NO... I am NOT smarter than a 5th grader!" 😛
In our country it's "I am NOT smarter than 10 years old".
But it still true....
_____________
Code for TallyGenerator
December 2, 2007 at 2:26 pm
Jeff Moden (12/1/2007)
Hmmm... and what do you do for sprocs that are used by multiple applications?
Well, procedure is doing the same thing to the same object (or, better, "object").
If this...
_____________
Code for TallyGenerator
December 1, 2007 at 11:53 pm
Viewing 15 posts - 3,256 through 3,270 (of 6,037 total)