Viewing 15 posts - 1 through 15 (of 59 total)
This is useful for me since it gives me a way of finding invalid objects without recompiling. I was using a script that recompiled the objects to find the broken...
March 13, 2023 at 10:25 am
I posed this question to the resident Microsoft DSE years ago where I work. The solution I was given was to run the SP in a Powershell step in the...
February 14, 2022 at 12:56 pm
Great article! xp_logininfo is invaluable but you have to know it's limitations:
- returns empty row when AD account exists but it does not have login authentication in the SQL...
August 3, 2018 at 5:35 am
Thanks for your suggestion Steve. I need to modify an existing SP that executes queries in a "test framework" tool. I'm unable to make major design changes to break it out...
July 19, 2018 at 1:27 pm
Looks like it's a problem with dm_exec_sessions but not dm_exec_requests or dm_exec_connections or sysprocesses so I can get the data I want from those instead. I know sysprocesses is to-be-deprecated...
July 19, 2018 at 11:44 am
First time using your script. Looks like db role members are scripted out but the role itself is not so the sp_addrolemember statements fail? I only had one...
October 20, 2016 at 5:57 am
I have been using this technique for many years. It's much easier to maintain than dynamic SQL. I have also used it for dynamic GROUP BY and ORDER...
April 18, 2013 at 4:06 am
If you are willing to relocate to the Washington DC area and you are a US citizen check out job vacancies at the U.S. Census Bureau (on opm usajobs site)....
June 28, 2010 at 8:14 am
Does the "WITH (NOLOCK)" query hint not work as well for this (except for the dirty reads)?
June 28, 2010 at 6:27 am
I used to be an Oracle DBA but am a SQL Server DBA now. Companies who are converting from Oracle to SQL may hire experienced Oracle DBAs and offer...
June 28, 2010 at 6:16 am
I wrote a DTS pkg a few years ago to search DTS pkgs for an obsolete server name (when we migrated the pkgs from SQL 2000 to new SQL 2000...
January 6, 2010 at 6:30 am
I agree. I don't think SSMS 2005/2008 are deinstalled; they seem to just be missing from the start menu.
I just created a shortcut to the SSMS 2008 (c:\Program Files\Microsoft...
November 6, 2008 at 7:14 am
This is why it is a good idea to make the schema/owner for SPs/UDFs to be something other than dbo.
We use a customized role called "dco" (database code owner)...
August 21, 2007 at 3:00 pm
Amazing how some of these threads live on!
I originally wrote my FormatDate udf as we migrated from Oracle (which had the "to_char" function for this). It's not the fastest UDF,...
June 13, 2007 at 5:54 am
Check out Microsoft's SSMA (SQL Server Migration Assistant):
http://www.microsoft.com/sql/migration/facilitatingdatabasemigration.mspx
I have not used it. Looks cool if it works. Should have a free download.
Jeff
July 20, 2005 at 12:57 pm
Viewing 15 posts - 1 through 15 (of 59 total)