Viewing 15 posts - 4,426 through 4,440 (of 6,401 total)
Something like this?
DECLARE @OrigString VARCHAR(100)
DECLARE @SearchFor VARCHAR(100)
DECLARE @ReplaceWith VARCHAR(100)
SET @SearchFor ='DBName'
SET @ReplaceWith = 'ReplacedDBName'
SET @OrigString = 'Newdb.[DBName].dbo.TableName'
SET @OrigString = REPLACE(@OrigString, @SearchFor, @ReplaceWith)
SELECT @OrigString
July 4, 2012 at 5:00 am
Usually make your primary key the clustered index as that is the unique identifier for the row.
It will degrade performance as when you create a clustered index on a heap...
July 4, 2012 at 4:50 am
Can you post the rest of the tables in the query along with test data for each of them
July 4, 2012 at 4:47 am
From what I can see, all your tables are heaps.
Is there a reason you dont have CLUSTERED indexes on any of these tables?
July 4, 2012 at 4:30 am
The job history table is a cumulative table of all history from all jobs. By default it only stores around 1000 rows in the table, so if you have...
July 4, 2012 at 4:24 am
To add on to Gullimeel, please follow the link in my signature on how to post performance problems.
July 4, 2012 at 4:08 am
Woohoo, easy 7 points, happy holidays all those in the US
July 4, 2012 at 2:06 am
What browser are you running it in?
July 4, 2012 at 1:45 am
I would strongly recommend using a calendar table which you can link on to get the results you need.
I will try and find the links to some articles on this...
July 4, 2012 at 1:39 am
If this is a brand new requirement and you dont have anything to base your hardware requirements on it is best to ask the people who want the application /...
July 4, 2012 at 1:37 am
What do you get from the below query
select log_reuse_wait_desc, name from sys.databases
July 4, 2012 at 1:31 am
I think the OP wants to acheive a MCM rather than he already has an MCM as I just checked the MCM list and couldn't find Ramdas in the list.
July 3, 2012 at 7:30 am
What is the authentication method? Windows / SQL?
Does the user exisit on Server2? If not you wont be able to connect?
If windows authentication do you have SPN's configured for...
July 3, 2012 at 7:26 am
Looks like you want to look at a computed column.
http://msdn.microsoft.com/en-us/library/ms191250%28v=sql.105%29.aspx
July 3, 2012 at 7:04 am
In that case I would go down the route of AD groups and get a a copy of RSScriptor to copy the objects from the old server to the new...
July 3, 2012 at 6:59 am
Viewing 15 posts - 4,426 through 4,440 (of 6,401 total)