Viewing 15 posts - 61 through 75 (of 107 total)
I was able to get it to work. Thanks to everyone who replied with ideas.
this is the final code to generate the report:
DECLARE @curDate datetime
DECLARE @PriorMonthStart datetime
DECLARE @PriorMonthEnd datetime
DECLARE @sqlcmd...
May 21, 2010 at 2:07 pm
Thanks for the reply Hall of Famer!
The data type of column LoginDate is smalldatetime
Yes, there are qualifying rows in the table. I have confirmed that (more than once 🙂
You could...
May 20, 2010 at 3:59 pm
... to review the situation:
If I remove the WHERE clause from the Select stmt, it generates a report - even when I run it in SQLCMD.
Does SQLCMD not like something...
May 20, 2010 at 3:09 pm
Thank you, patel_mayur.
Print @sqlcmd; shows ....
sqlcmd -Q "SELECT ServerName as Server, LoginName as FailedLogin, ClientName as ComputerName, LoginDate FROM DBA.dbo.AuditDatabaseLogins WHERE AuditType = 'Login Failed'
AND...
May 20, 2010 at 10:42 am
Your idea worked perfectly, bteraberry. Thank you.
Now I have a different issue but I will start a new thread for that.
John
May 20, 2010 at 8:40 am
Thanks bteraberry. you are so right. I will try your idea tomorrow and reply with the results.
John
May 19, 2010 at 7:07 pm
Thanks, vstitte for confrming. Here goes .....
John
January 11, 2010 at 3:06 pm
Thanks Kenneth.
I rebooted a few times (after doing various things) but the sbevent.rll was always locked.
I used this wonderful tool named 'Process Explorer' to find which service/process has the file...
August 10, 2009 at 2:26 pm
Perfect, Ten Centuries. This is exactly what I needed! We do have to keep those auditors happy 🙂
Thanks very much. John
July 22, 2009 at 9:49 am
Thanks so much for taking the time to reply, everyone.
Jetro, I tried your code and had several errors, had to move on.
Edward, I will try the web page you recommended...
April 29, 2009 at 6:32 pm
Jeff,
I will (manually is ok) copy the resultset into an Excel sheet.
Tracking database sizes first day of each month.
Ideally need the sizes (Qty) to be in separate columns.
Thanks, John
April 28, 2009 at 5:38 am
Now that looks promising.
Thanks CozyRoc.
March 23, 2009 at 1:56 pm
hehe. When someone in Tennessee asks me "what part of texas are your from?" I usually reply "the God-forsaken part". 🙂 I'm from west Texas - Lubbock and Midland-Odessa. The...
March 12, 2009 at 7:39 pm
Thanks, Tim. I'm happy to hear the FTP Task is fairly reliable.
I have good news. I first created a new package on the same server that the other package was...
March 12, 2009 at 4:24 pm
Viewing 15 posts - 61 through 75 (of 107 total)