Viewing 15 posts - 8,971 through 8,985 (of 13,461 total)
doh i should have tested that: wrapped the datediff evaluation with the convert first, sorry:
select ABS(CONVERT(BIGINT,(DateDiff(minute, getdate(), '1900-01-01'))) * 60),
ABS(CONVERT(BIGINT,(DateDiff(minute,...
August 5, 2010 at 9:50 am
WayneS (8/5/2010)
If it's a server...
August 5, 2010 at 9:20 am
the error is related to the actual data being tested/datediffed. one instance has data that is out of range.
when you use datediff with seconds, there can only be something like...
August 5, 2010 at 9:09 am
basically you have to determine that if any high ascii character(>127) exists, you want to use DESC sort order on the example i provided, but if no high ascii exists,...
August 5, 2010 at 5:29 am
things to look for:
1. the user would lose his permissions every time the database is restored to a version that did not have his permissions previously.
2. if this is object...
August 4, 2010 at 12:23 pm
glad i could help; there's a lot to do in there to make it report-presentable..convert to decimal a couple of times along with the division and case statement;
much easier...
August 4, 2010 at 9:32 am
this should help you visualize; you'll need a case statement:
/*--results
KB MB GB...
August 4, 2010 at 9:17 am
this seems to do what you want...i'm doing an order by on the username, and then the username with case sensitive collation:
the desision to order by the second as DESC...
August 4, 2010 at 6:18 am
here's the visual results of my current query for reference: my expectation is that for AREAID 1887, the "buidlingindex" should be all "1", and the apartmentindex increments as seen below.
ID...
August 3, 2010 at 7:19 am
not an expert here by any means, but i think "NetAPP SnapManager ", and what it is doing behind the scenes is more than jsut a SQL Server Enterpise Snapshot;...
August 2, 2010 at 12:18 pm
go to the scripting options and check "script indexes" "script "triggers" and anything else you might need scripted,a nds simply rerun the process.

July 30, 2010 at 7:36 am
in SQL Server Management Studio, have you tried right clicking on the table and selecting "Script Table As ..."
Then you can rename the table and the constraints that are part...
July 29, 2010 at 9:56 am
windows login methods are never disabled...but a domain login might not work yet, is that what you mean?
can you right click on the link to SSMS and choose Run As......
July 29, 2010 at 6:20 am
in that case, look at this article, which shows how to audit access to the databases with a server side trace:
http://www.sqlservercentral.com/articles/Administration/trace/872/
once that is in place, you can insert the results...
July 28, 2010 at 11:07 am
rather than tracking where the inapproprate acces sis coming from, you could change the passwords for those two users, or maybe use a logon trigger to prevent access for those...
July 28, 2010 at 10:54 am
Viewing 15 posts - 8,971 through 8,985 (of 13,461 total)