Viewing 15 posts - 31 through 45 (of 65 total)
Is the Microsoft® SQL Server® 2008 Management Studio Express able to manage a 2005 database?
June 3, 2009 at 8:19 am
select datediff (day,enterdate,coalesce(leavedate,[date])) as 'totaldays'
from reservations
produces the error...
"Invalid column name 'date'."
Select (case when (leavedate is null)
then datediff (day,enterdate,[date])
else datediff (day,enterdate,leavedate) end as 'totaldays'
from reservations
produces
Incorrect syntax near the keyword...
March 23, 2009 at 2:18 pm
Thanks.. your code worked great. However when I tried to adapt it to look at another field (included in the table building script below)to apply different criteria using...
October 28, 2008 at 3:25 pm
I've added the needed output to original post.. thanks!
October 28, 2008 at 1:20 pm
Running across a WAN in the same domain. Windows, Antivirus and other updates are not occuring at or near this time according to our WAN administrator
September 25, 2008 at 10:56 am
This sounded like a great plan, but when I tried installing it, I set it up .. click "RUN" and nothing happens...
P.S. .. I'm running it in a Terminal Sevice...
August 22, 2008 at 12:06 pm
Me too, unfortunately, that's not an available option.
Thanks!
January 14, 2008 at 1:44 pm
Well... when I run it today it does work properly, but I'm pretty confident that when I tested it after reading the post warning that it didn't work, that I...
December 10, 2007 at 8:19 am
If each rock in each pile has a sequence number on it .... would you not then know how to arrange each group, and once arranged which one is in...
December 8, 2007 at 9:15 am
I think perhaps a better explanation would be helpful ... each custlink can and does exist in multiple rows, each in turn has a field containing a unique sequence number....
December 7, 2007 at 8:35 pm
As was initially requested (....I want to query the data shown below in the first dataset to return each entire row containing the nth lowest sequence number for each cuslink)...
December 6, 2007 at 2:58 pm
That is a BIG IF!!! LOL. But... seriously, it needs to return the sequence number for each customer link within each custlink, without considering the custlink as part of...
December 6, 2007 at 1:01 pm
Another user on this forum noted (and I verified) that this script does not work if I change value of @n to 3. The sequence of cuslink of 5432 is...
December 6, 2007 at 11:29 am
Viewing 15 posts - 31 through 45 (of 65 total)