Viewing 15 posts - 316 through 330 (of 627 total)
Sigh...I wish I could filter out old threads.
May 11, 2016 at 9:11 am
Tac11 (5/10/2016)
IN GENERAL, Since 0 users seek,high users_lookups and high users_update, should PK be removed?
You'll end up trading key lookups for RID lookups which are the same as far as...
May 10, 2016 at 1:47 pm
Tac11 (5/10/2016)
Index id = 1 (datatype...
May 10, 2016 at 9:45 am
Trying to institute culture change is probably the hardest things I've ever had to do.
They might not like it but...
May 10, 2016 at 8:22 am
In my experience I've seen many create one schedule for each job. However, 1 schedule can have many jobs associated with it. As you observed nothing stops you...
May 9, 2016 at 8:24 am
jollyegeorge (5/6/2016)
I get error for 'Invalid object name 'dbo.DelimitedSplit8K'Yes it does, all the summary line has these bold values.
It's a custom function that you have to create on your...
May 6, 2016 at 1:05 pm
Here is a simple example on how to grab ALL text before the semicolon. Just keep in mind this implies that there will always be a semicolon to use...
May 6, 2016 at 12:06 pm
Just Arthritis? After the semicolon perhaps? This is easy to do but I don't want to give you a bad solution. Please provide sample data and how...
May 6, 2016 at 11:33 am
Note: This is a very old thread.
May 6, 2016 at 11:29 am
Did you just try right clicking on a job and select 'Script Job as' option?
It won't help you with synching jobs but that's not something I would normally want to...
May 6, 2016 at 11:21 am
Sean Lange (5/4/2016)
Be careful using sp_msforeachdb. It can sometimes skip databases. Even more shocking is many of the major players don't really know why. http://sqlblog.com/blogs/aaron_bertrand/archive/2010/12/29/a-more-reliable-and-more-flexible-sp-msforeachdb.aspx
Thanks for the tip! I've...
May 4, 2016 at 1:15 pm
If you are asking if it's a good idea to use 'sp_msforeachdb' you just have to keep in mind that it's an undocumented procedure. So you never know how...
May 4, 2016 at 9:45 am
Do you care about running that against any other possible db's? You might want something a little more generic.
DECLARE @strings TABLE (LoginID VARCHAR(100))
INSERT INTO @strings
VALUES ('adventure-works\peter0'), ('Northwind\mary0'), ('Test\mark1')
SELECT
SUBSTRING(LoginID,CHARINDEX('\', LoginID)...
May 4, 2016 at 9:25 am
You can also pull all kinds of useful information from SERVERPROPERTY.
SELECT
SERVERPROPERTY('ProductVersion') AS ProductVersion,
SERVERPROPERTY('Edition') AS Edition
If you don't know the product name from the major builds versions you can always check...
May 2, 2016 at 12:11 pm
Luis beat me to the sample data speech...but that being said I would advise not to use ordinal position in your ORDER BY clause. It's a bad habit to...
April 28, 2016 at 2:08 pm
Viewing 15 posts - 316 through 330 (of 627 total)