Viewing 15 posts - 166 through 180 (of 358 total)
Jeff Moden (11/25/2008)
Very nicely done, Ken. Lot's o' work went into that one. Great job.
Thanks Jeff. It really wasn't that much work. I just wanted to...
November 26, 2008 at 8:32 am
Failed logins are really the most important. It just depends on how busy your system is. It is all preference on what you would like to monitor.
I use the...
November 26, 2008 at 8:22 am
I found a missing quote at the end. Try this.
ALTER PROCEDURE SP_TEST
@P_TABLEN varchar(30),
@P_STARTDATE datetime,
@P_ENDDATE datetime,
...
November 25, 2008 at 8:55 pm
Try replacing the @query variable with the following.
SELECT @query= 'SELECT * FROM ' +@P_TABLEN+'
WHERE ' + @COLUMNNAME + '>='
...
November 25, 2008 at 8:00 pm
You can use bcp also.
EXEC xp_cmdshell 'bcp "SELECT * FROM sysfiles" queryout "C:\bcptest.txt" -T -c -t,'
November 25, 2008 at 7:41 pm
You can use this to find stored procedures that contain the given search criteria.
select name, text from sys.objects A
JOIN sys.syscomments B ON A.object_id = B.id
where type = 'P' and...
November 25, 2008 at 6:30 pm
Keep in mind that I am counting a NULL value as No also.
November 25, 2008 at 2:15 pm
You can use a case statement.
Declare @TST1 bit
Declare @tst2 bit
Set @TST1 = 1
Set @tst2 = 0
Select Case @TST1 When 1 Then 'Yes' Else 'No'...
November 25, 2008 at 1:47 pm
You may not have installed the Database Services. Go through the install again and make sure to select "SQL Server Database Services". Here is an article with screen shots.
...
November 25, 2008 at 11:14 am
I think you are talking about having to sync the logins. Once you failover you can sync the logins and you should be fine. The following artilce should...
November 24, 2008 at 2:31 pm
Look up how to use a nums or tally table. Hopefully this will get you started.
Declare @NoofPayments int
Declare @TotalAmt int
Declare @startdayofmonth int
Set @NoofPayments = 4
Set @TotalAmt = 4542
Set @startdayofmonth =...
November 24, 2008 at 2:26 pm
I saw some earlier posts where the poster was looking for some good books with some real world examples, I was giving them the benefit of the doubt and thinking...
November 24, 2008 at 8:41 am
I use xml in order to aviod having to use dynamic sql. This should explain how you would use both.
November 24, 2008 at 7:42 am
Here is a good list of things a DBA should be doing on a daily basis. This should help you out with a resume. It also has the...
November 24, 2008 at 6:31 am
That is normal. The client tools only install on the machine you are installing from. If you want the client tools on the other node you can go...
November 23, 2008 at 5:49 pm
Viewing 15 posts - 166 through 180 (of 358 total)