Viewing 15 posts - 2,476 through 2,490 (of 13,469 total)
to go that deep, you'd need to execute the procedure, capture the execution plan, and parse the xml out to get it down to the column level;
the queries in the...
February 28, 2014 at 10:36 am
pretea (2/28/2014)
Thanks, this works on 2008 R2 but I need for 2005 and functionalitysys.sql_expression_dependencies does not exist on 2005, what do you suggest?
nope.
in 2005, i believe only actual objects that...
February 28, 2014 at 9:58 am
take a look at this DMV, and run this in the database you think has external references:
i think this view is supposed to populate with values, even if the object...
February 28, 2014 at 9:19 am
the screenshot i provided is an example of where the only people using the linked server are explicitly defined in a list; my sa example int he first like is...
February 28, 2014 at 5:34 am
for non clustered instances, these two techniques are working great for me, as long as i have RDP to the machine:
without stopping and starting the services, byusing sysinternals psexec to...
February 26, 2014 at 1:38 pm
are you sure?
based on the error, i'd think thatthe columns for
dbo.postcodes.Latitude and dbo.postcodes.Longitude
are being converted to match the data type for @Radians(float)
are they possible decimals or varchars?
February 26, 2014 at 9:32 am
I have a couple of examples saved in my snippets.
here's an example of finding points that are within 5 US Miles; you can change the constants to be in kilometers...
February 26, 2014 at 6:40 am
check each of your linked servers, and make sure the option for this part is "not be made" or "be made using the logins current security context" if you are...
February 26, 2014 at 6:03 am
i can't say which is a best practice, but i'll throw out what strategy we use.
for startup services, we create a domain account mydomain\SQLMaster, and that is the user used...
February 25, 2014 at 10:30 am
yes you can, but you'll have to use dynamic SQL to hold the command for creating the functions/procedures.
IF EXISTS(SELECT 1 FROM sys.columns WHERE object_Name(object_id) = 'CriticalTable' and name = 'SpecificColumn')
...
February 25, 2014 at 7:03 am
probably we'll need more information.
creating server roles is available in 2012 and above, you probably mean "if i add a login, i want to add him to a server role(or...
February 24, 2014 at 12:53 pm
the other question i'd like to see thrown into the mix is what do you REALLY need to track?
do you really need to know that Lowell modified these x rows,...
February 24, 2014 at 11:11 am
SQLHeap (2/24/2014)
SQLRNNR (2/24/2014)
February 24, 2014 at 8:35 am
SQLHeap (2/24/2014)
February 24, 2014 at 8:05 am
yocki (2/23/2014)
I have a stored procedure (SP) that contains "EXEC xp_cmdshell eror msg >>D:\logfile.txt, no_output"
Whenever i call/run the SP, via .NET App and SSMS directly, using user that...
February 24, 2014 at 5:50 am
Viewing 15 posts - 2,476 through 2,490 (of 13,469 total)