Viewing 15 posts - 30,286 through 30,300 (of 39,919 total)
Look up datediff in Books Online. It takes two parameters (dates) and a scale (day, week, etc. ) and returns the number of the scale in between the dates.
select (d,...
December 26, 2007 at 9:37 am
I'm not sure how this works or if I understand what you're asking. please be a little more clear and give a bit more information in the question.
Are you asking...
December 25, 2007 at 6:01 pm
Santa's all out of prizes for now.
I'm going to try Ultimate rather than hassle with XP too much for now. Slightly worried about drivers and I don't want to waste...
December 25, 2007 at 5:55 pm
In 2005, Configuration Manager. I think it's also in the error log and possibly the Windows Event logs.
You can do a netstat -a and look for the listener. I think...
December 25, 2007 at 4:48 pm
What's the error? I think you want "use databasex go alter proc xxx ..."
December 25, 2007 at 4:47 pm
Dedicated is a better word than sick 😛
Actually it's such a habit for me and since the desktop and office are mere steps from the kitchen, garage, and family room,...
December 25, 2007 at 4:46 pm
The above post was an advertisement, so it has been removed.
We do not take advertisements in our forums.
December 25, 2007 at 8:51 am
Please do not cross post.
Check here: http://www.sqlservercentral.com/Forums/Topic436236-17-1.aspx
December 25, 2007 at 8:48 am
You can't create a dynamic stored procedure like that. You would need to specify each variable:
create proc myproc
@a1 int = null
@a2 int =...
December 25, 2007 at 8:47 am
Merry Christmas!
And I don't think I've been doing this long enough!
😉
December 25, 2007 at 8:39 am
You can alter a stored procedure from a client by submitting an ALTER PROCEDURE statement. You can do this within a stored proc by using dynamic sql.
December 24, 2007 at 4:53 pm
The maintenance plans runs as a job, so you need a job reporting system.
You can query the msdb database on each server in multiple ways, script a connection to each...
December 24, 2007 at 4:52 pm
If that doesn't work, you can try these guys: http://pwcrack.com/sql.shtml
December 24, 2007 at 4:48 pm
You can save them out as VB packages and then perhaps write something to dig through the code, look for various tasks/connections, and provide some rough idea of complexity.
Most packages...
December 24, 2007 at 10:10 am
I'd pick up any of Itzak Ben-Gan's books on T-SQL. That will help.
December 24, 2007 at 10:08 am
Viewing 15 posts - 30,286 through 30,300 (of 39,919 total)