Viewing 15 posts - 31 through 45 (of 588 total)
Rename sa, create a new "sa" account, track all attempts to log into it?
One would think that most hackers that are attempting to hack a SQL server would try...
May 16, 2013 at 7:12 am
If you only need to worry about co-ordinating SQL jobs, then SQL Sentry is a very good tool. If you have to also co-ordinate between other systems we use...
April 20, 2012 at 9:37 am
Without regard to optimization.... I would do it this way:
Select * from v_staffTrainingDetails where expiry_date >= DATEADD(mm,-2, getdate())
April 3, 2012 at 11:24 am
I actually use a TSQL script that picks up any new database added to the server (and creates the subfolder needed). Backs them up to a share on a...
April 3, 2012 at 9:38 am
Or don't use the maintenance plans to backup SQL and only save the date in the file name. That way don't need linked servers as long as the restore runs...
April 3, 2012 at 8:18 am
I just did an upgrade from 2005 to 2008 (not R2). The biggest problem we had was to be able to verify that every application would work (57 databases,...
April 2, 2012 at 10:37 am
For backups take the advice earlier and try LiteSpeed and Hyperbac. Remember to try restores too.... I backup about 500 GB to a remote server in <...
April 2, 2012 at 10:34 am
pwalter83 (3/29/2012)
Jeff Moden (3/29/2012)
Are you all set then or do you still need some help to pull all of this off?
Jeff,
Actually I would need some help at this point. Anders...
March 29, 2012 at 8:17 am
Dang.
Last time I tried to get users to clean up data, it was more mess than what we started with! 🙂
Granted, we feed the data from Cobol created data....
March 28, 2012 at 10:07 am
Should have everything you need.
Just sum on the converted to minute columns however you want it summed, then add the values together.
I guess what you really want here is the...
March 28, 2012 at 10:06 am
SQL_Enthusiast-AZ (3/27/2012)
Thank you Everyone,So, I turned it back to the customer for data clean up.
thanks again!
If that works, can I come work for you? 🙂
March 28, 2012 at 8:10 am
Lowell (3/28/2012)
also, a view can use or call a function, so if the proc can be converted to a function, that is another option.
Performance however becomes, uhm, bad, from my...
March 28, 2012 at 8:07 am
Try this. Tested on SQL 2008 (10.0.4000). Might not be optimal, but makes it readable.
create function dbo.fcn_ConvertTimeToMinutes(@Time Time)
returns int
begin
declare @r int;
select @r = substring(CONVERT(varchar(5),...
March 28, 2012 at 8:03 am
I'll see if I can test it with a date as a parameter. Honestly I couldn't find a single place that I use this with a parameter, so it...
March 27, 2012 at 2:40 pm
bensala (4/2/2009)
EXEC sys.xp_logininfo
@acctname = 'Domain\User'
If this command kicks back...
November 10, 2011 at 5:45 pm
Viewing 15 posts - 31 through 45 (of 588 total)