Viewing 15 posts - 2,356 through 2,370 (of 2,458 total)
karthik M (11/26/2012)
All,what are all the new "Optimization Techniques" available in SQL 2012 which is not available in SQL 2008?
On the new T-SQL optimization I highly recomend Microsoft SQL Server...
November 26, 2012 at 3:09 pm
jarid.lawson (11/26/2012)
I tried the Tasks > Copy Database option. I made it most of the way through, but...
November 26, 2012 at 2:46 pm
Backup/Restore is best.
You can also do a copy by: right-click your db >> Tasks >> Copy Database then go through the wizard.
November 26, 2012 at 2:26 pm
Guras (11/26/2012)
It is a transactional replication. It is strange that I cannot find that job in my SQL Agent job list.
The agent job will be running whereever the job is...
November 26, 2012 at 1:54 pm
Guras (11/26/2012)
Unfortunately we are in the prod.
First, I concur with MyDoggieJessie - check for filters, check the agent job to see if it is running without error...
I don't know...
November 26, 2012 at 1:47 pm
Guras (11/26/2012)
I re ran the agent but still the rows are mising in the subscriber.
I going to assume we're not in Prod...
If the snapshot agent ran correctly your tables should...
November 26, 2012 at 1:18 pm
You can accomplish this by re-running the snapshot agent for that subscription.
November 26, 2012 at 11:49 am
Based on the info provided:
-- This table has the name of every department
DECLARE @dept TABLE (
deptNbr int primary key,
department varchar(10) NOT NULL );
-- This is where department goals are...
November 21, 2012 at 12:29 pm
-- place to test the insert
DECLARE @targetTable TABLE (val1 varchar(30), val2 varchar(30));
-- the value fed to your query
DECLARE @splitMe varchar(40) = '9279-1^Respiratory Rate^LOINC';
;WITH x(a,b) AS
(SELECTLEFT(@splitMe, CHARINDEX('^',@splitMe)-1),
RIGHT(@splitMe, LEN(@splitMe)-CHARINDEX('^',@splitMe))
)
INSERT...
November 21, 2012 at 10:34 am
If by "slows down the entire database" you mean that running these reports slows down other, non-reporting activity then my advise would be to do what Eugene was saying: consider...
November 21, 2012 at 9:50 am
Lokesh Vij (10/10/2012)
SELECT dtStartDate,
(SELECT Max(dtRunDate)
...
October 11, 2012 at 8:19 am
haiao2000 (10/10/2012)
XMLSQLNinja (10/10/2012)
You should post the actual DDL.From what I see you could make this faster using the Local Updateable Variable approach (e.g. the 'Quirky Update')... See http://www.sqlservercentral.com/articles/T-SQL/68467/
Alen,
I updated...
October 10, 2012 at 3:57 pm
Homersdonut (10/10/2012)
As we encounter performance related issues in production which...
October 10, 2012 at 3:56 pm
SQL Guy 1 (10/10/2012)
Alan: I cannot create a real table, because this db will be restored, and the table will be gone. About SSIS, frankly...
October 10, 2012 at 3:45 pm
You should post the actual DDL.
From what I see you could make this faster using the Local Updateable Variable approach (e.g. the 'Quirky Update')... See http://www.sqlservercentral.com/articles/T-SQL/68467/
October 10, 2012 at 3:20 pm
Viewing 15 posts - 2,356 through 2,370 (of 2,458 total)