Viewing 15 posts - 1 through 15 (of 28 total)
you can run the server side trace to capture what queries is taking longer than 500ms to execute. Note the time of the transactions and match it to the Perfmon...
January 17, 2012 at 10:55 am
how many transactions does the database see in a minute? The scheduled index rebuild may be causing the problem. I ran into a problem in the past with...
January 16, 2012 at 9:43 pm
I had to run msdb.dbo.sp_sqlagent_notify to fix the jobs owned by sa.
April 4, 2011 at 4:44 pm
This is an example of what I saw someone did. And there is only 1 file associated with the FG_TEST filegroup. I wonder if there is any benefit to...
March 18, 2011 at 2:44 pm
for the test table, I would drop the table and recreate everything from a script.
February 7, 2011 at 12:52 pm
try this
C:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn\DTExec.exe /DTS "\MSDB\MIS\Billing ETL\CNS_SRC_OUTPUT_FILES" /SERVER GLS1DESQL01 /CHECKPOINTING OFF /REPORTING E
January 28, 2011 at 4:26 pm
this is what I use to copy the backup file. in the job step 2, i restore the database.
declare @pathname nvarchar(100)
declare @fname nvarchar(50)
declare @bakfile nvarchar(200)
declare @cmd nvarchar(1000)
declare @destpath...
January 20, 2011 at 5:18 pm
you have to create the server logins. Microsoft website has a procedure that allows you to script out the sql server logins with the passwords.
i think this is the one....
January 19, 2011 at 5:53 pm
Try this.
Declare @SQL nvarchar(MAX)
Declare @docpath nvarchar(MAX)
Set @docpath = N'E:\Workflow\SPP\Attachments\ModelCodes\claim.xls'
Set @SQL = 'INSERT INTO [Tactical.Claim_LineItems_BULK_Audi] ([JObCreator], [ModelCode],
[ChassisNo], [CommissionNo], [AGSupport],[AVMESupport], [Brand], [Remark])
SELECT *
FROM OPENROWSET (''Microsoft.ACE.OLEDB.12.0'', ''Excel 12.0;;Database=' +@docpath+ ';HDR=YES'',
''select * from [Sheet1$]'')'
PRINT...
January 14, 2011 at 4:49 pm
You can have the receipe/instructions broken down by line number and store them as separate row.
Leave the formatting to the presentation layer.
January 14, 2011 at 3:30 pm
Why are you changing the partition function from monthly to weekly? Did the queries criteria changed?
In order to switch partitions, the source and dest must be in the same filegroup....
January 4, 2011 at 4:59 pm
I used this in a job step prior to the lightspeed restore and it works fine restoring from prod to dev.
DECLARE @DatabaseName nvarchar(50)
DECLARE @SPId int
DECLARE @userid varchar(100)
declare @command...
January 3, 2011 at 4:17 pm
Why don't you use SSIS to move the data? I can move 160 M rows using the Attunity drivers between 1 to 3 hours.
December 28, 2010 at 5:52 pm
Use the CHARINDEX function
eg from the BOL.
DECLARE @document varchar(64)
SELECT @document = 'Reflectors are vital safety' +
...
December 28, 2010 at 12:47 pm
use DTExec. You can pass variables into the packages.
December 27, 2010 at 3:36 pm
Viewing 15 posts - 1 through 15 (of 28 total)