Viewing 15 posts - 1 through 15 (of 109 total)
Description: This procedure will allow you to find any string in any DB Object with its name or part of its name.
It will also allow you to find the column...
August 8, 2013 at 9:15 am
This has been a huge pet peave of mine for a long time. Brilliant people who can't even talk to (or get along with) a fence post. Add to this...
April 30, 2013 at 7:26 am
Wow, you made my day...that's exactly what it was! Thank you very, very much! Someone created an alias on our Dev SQL server so that whenever we reference the Prod...
April 10, 2013 at 8:30 am
Thanks for your reply. I have been in a class most of the day.
I didn't find anything unusual in the host file. The server I am trying to create the...
April 9, 2013 at 4:01 pm
Here's the code:
EXEC master.dbo.sp_addlinkedserver @server = N'LinkSvrName', @srvproduct=N'SQL Server'
EXEC master.dbo.sp_addlinkedsrvlogin @rmtsrvname=N'LinkSvrName',@useself=N'False',@locallogin=NULL,@rmtuser=N'ReportsUser',@rmtpassword='########'
GO
EXEC master.dbo.sp_serveroption @server=N'LinkSvrName', @optname=N'collation compatible', @optvalue=N'false'
GO
EXEC master.dbo.sp_serveroption @server=N'LinkSvrName', @optname=N'data access', @optvalue=N'true'
GO
April 9, 2013 at 12:46 pm
Thanks for the tip! In Notepad++, the code (a sample of it) displayed like this:
declare @Database_Name nvarchar(100);????????????????????set @DATABASE_NAME = 'AdventureWorks2012'
declare @Rebuild_Threshold_Percent nvarchar(10);????????set @REBUILD_THRESHOLD_PERCENT = 30
declare @Reorganize_Threshold_Percent nvarchar(10);????????set @REORGANIZE_THRESHOLD_PERCENT = 30
declare...
May 25, 2012 at 7:50 am
When I try to run this script, I get the errors below. Note! These same 'Incorrect syntax near '' ' happen at times on other scripts I get from SSC...
May 25, 2012 at 7:19 am
Is there any way to get the name of the SQL module where the query resides?
April 4, 2012 at 8:08 am
Thanks - but I am not finding any information in this article related to tracking job changes, or did I miss something?
January 24, 2012 at 12:53 pm
Went there, but there are no users listed in the 'Users or roles:' area.
September 15, 2011 at 8:57 am
I am sorry as I posted this question in the wrong forum. We are actually using 2008. Does 2008 require a different solution other than what is recommended above? I...
September 15, 2011 at 8:46 am
Still find Mystery Science Theatre 3000 to be hilarious whenever I can catch it. DVD's are available as well.
August 3, 2011 at 9:03 am
Call of Duty - Black Ops has been taking up a lot of my time lately.
July 29, 2011 at 7:53 am
Thanks to all for your input on this!
I actually was able to find yet one more way to get this to work!
select distinct
t1.A_PREFIX,
...
June 9, 2011 at 10:18 am
Don't know which is worse, this case, or someone who actually has the knowledge but is too lazy to put it to use...a slacker, in other words.
February 7, 2011 at 8:10 am
Viewing 15 posts - 1 through 15 (of 109 total)