Viewing 15 posts - 2,626 through 2,640 (of 6,401 total)
Phil Parkin (1/31/2013)
It it just another general purpose tool.
Anyone else picturing a man with a big hammer? 🙂

January 31, 2013 at 6:00 am
declare @tab table (col1 char(2))
insert into @tab values
('A1'),
('A2'),
('A3'),
('B1'),
('B2'),
('B3')
SELECT
A.Col1,
B.Col1
FROM
(
SELECT
ROW_NUMBER() OVER(PARTITION BY LEFT(Col1,1) ORDER BY Col1) AS RowNum,
Col1
FROM
WHERE
LEFT(Col1,1) = 'A'
) AS A
FULL OUTER JOIN
(
SELECT
ROW_NUMBER() OVER(PARTITION BY LEFT(Col1,1) ORDER BY Col1)...
January 31, 2013 at 4:43 am
They will be stored in the master and msdb database
Logins stored in master, jobs maintenance plans stored in msdb.
January 31, 2013 at 3:47 am
Yes, as disable drops the B-Tree of the index, but leaves the meta data in place, so the only way to get the index enabled again is rebuild, to rebuild...
January 31, 2013 at 3:06 am
It is the same you are correct, but with disable / rebuild, you dont need to know the definition of the index to recreate it.
January 31, 2013 at 2:58 am
Export them to a flat file - Import Export data wizard
Export them to a different database - SELECT * INTO DB1.dbo.tablename FROM DB2.dbo.tablename
Export them to backup tables in the...
January 31, 2013 at 2:54 am
I seriously recommend a lot of reading on the main topics of SQL.
Start with the stairways section of the site and read up on all the topics covered.
Gail also has...
January 31, 2013 at 2:42 am
well as 87% is spent on a key lookup, I would add the output column from the key lookup as an included column of the IX_art_ID_client_ID_price..... index on the price...
January 31, 2013 at 2:31 am
High CPU chapter in the Accidental DBA guide, would be a good place to start.
January 31, 2013 at 2:13 am
Partitioning is for data management not for performance.
If you have the execution plans, upload them as attachments in a SQLPLAN file format and I am sure someone will get around...
January 31, 2013 at 1:54 am
The free ones are usually brain dumps and as per the NDA use of brain dumps is considered cheating, if you get caught you will have all existing certification removed...
January 31, 2013 at 1:39 am
stop the sql service cleanly, start it up the engine in single user mode, then try shrinking.
January 31, 2013 at 1:36 am
I would first take a copy of the database, restore it to somewhere which has lots of space.
Then shrink it, and rebuild all your indexes, as shrinking the data file...
January 31, 2013 at 1:31 am
What edition is already installed on the PC now?
If it is going to be the same edition, version and service pack level, just backup master and msdb and any other...
January 31, 2013 at 1:27 am
Are you facing issues with free space on the actual disk?
January 31, 2013 at 1:25 am
Viewing 15 posts - 2,626 through 2,640 (of 6,401 total)