Viewing 15 posts - 1,411 through 1,425 (of 13,460 total)
DDL triggers are great for tracking whodunnit info, but rolling back operations can have a performance impact, as you identified.
I think using a DDL trigger to prevent index operations is...
Lowell
October 29, 2015 at 5:54 am
i do something very similar, but i rename the original table just in case, along with any indexes/constraints/defaults/foreign keys.
then rename the temp table, and it's indexes/constraints/defaults/foreign keys to match the...
Lowell
October 28, 2015 at 1:30 pm
SQLPain (10/28/2015)
Lowell
October 28, 2015 at 12:58 pm
Sergiy (10/27/2015)
And glitch in the functionality beyond SQL Server control may cause...
Lowell
October 28, 2015 at 6:13 am
New persopn (10/27/2015)
Thanks for your information.Is there any query to capture the information like Type of Backup, Mode of Backup information in SQL server
Backups occur on a per database level,...
Lowell
October 27, 2015 at 1:15 pm
New persopn (10/27/2015)
We are in the process of creating inventory, for that I need a query to capture the below information
HostName
InstanceName
Version
Edition
SQL Service Account
Region
Zone
Server Managed By
Storage Managed By
Backup Managed By
Type...
Lowell
October 27, 2015 at 12:31 pm
here's one way to do it:
since i want to find the second slash, i know i can use charindex to start at char 4 in your path.
/*
X:\folder\anotherfolder\X:\folderX:\folder\yet another folder\X:\folderX:\foldername\another folder\X:\foldernameX:\foldername\yet...
Lowell
October 26, 2015 at 11:35 am
in that case, the assumptions really incorrect.
an entire SQL Service listens to a specific port; on a default instance, the default port is 1433, but, yes, it can be...
Lowell
October 26, 2015 at 11:04 am
a person with db_owner on the database has the ability to backup / restore or drop the database they own.
if they drop it, they most likely would not have the...
Lowell
October 26, 2015 at 6:00 am
if you have visual Studio 2012 , if you install the SSDT package from microsoft, you can create a new database project.
that has a wizard to point to a database,w...
Lowell
October 23, 2015 at 6:12 am
i think you have to switch to dynamic sql for an all in one script right?
something like this?
Declare @serverID int,
@Memory int,
@Edition varchar (200),
@Version varchar (200),
@CoreCount int
select @serverID = server_id from...
Lowell
October 22, 2015 at 1:09 pm
DDL, sample data and expected results then?

Lowell
October 22, 2015 at 12:57 pm
based on some of your other posts, it looks like you are trying to script out a table definition.
take a look at my procedure i wrote in this article and...
Lowell
October 22, 2015 at 12:51 pm
since there's more than one row, and you only want to group on one column, you need an aggregate function;
any of these would be my first examples to see what...
Lowell
October 22, 2015 at 12:44 pm
interesting;and i think i see the issue...my script might not be case sensitive.
is this database case sensitive?
can you run this command?
SELECT
DATABASEPROPERTYEX(db_name(),'Collation') ...
Lowell
October 22, 2015 at 11:24 am
Viewing 15 posts - 1,411 through 1,425 (of 13,460 total)