Viewing 15 posts - 1 through 15 (of 18 total)
Thanks for the Reply.
Is there any way that this can be achieved from SQL Server Management Studio?
February 7, 2012 at 11:54 pm
Please follow the below steps:
1) SET IDENTITY_INSERT ON
2) insert the values using a INSERT Sql.
3) SET IDENTITY_INSERT OFF
Do remember to turn off the identity_insert to OFF again.
November 22, 2011 at 2:31 am
Add as much logging as possible in your job. And also set a ouput file for the job. This can be done in Advanced options of the job. From the...
November 15, 2011 at 3:06 am
Please check this
November 10, 2011 at 11:11 pm
Check this... may be helpful to you.
http://www.sqlservercentral.com/Forums/Topic886517-338-1.aspx#bm887407
November 10, 2011 at 11:09 pm
It would be better if you could post the number of records in the table.
November 9, 2011 at 10:21 pm
Also i see there is no need for the selecting all id column of all the child tables:
select a.dtimesheetid,b.dtimesheetid,c.dtimesheetid, d.dtimesheetid,e.dtimesheetid,f.dtimesheetid
since a.dtimesheetid = b.dtimesheetid, both are same in the output.
Also, a.dtimesheetid...
November 9, 2011 at 10:15 pm
The query is correct for joining multiple tables. As you have multiple records in the child tables, the result set eventually will have multiple records.
try putting a DISTINCT in the...
November 9, 2011 at 10:11 pm
You can use the below code format:
INSERT INTO <Tablename> (Col1, Col2, Col3)
SELECT Col1,Col2, Col3
FROM <table name>
WHERE <Condition>
November 9, 2011 at 9:56 pm
A long running job can have many causes. A few below:
1) There may be any blocking that caused the job to wait for a resource.
2) If there is any other...
November 3, 2011 at 9:55 pm
You can backup the production database and restore it in the acceptance environment.
Since you need to do this regularly better to have a restore DB script. This script should take...
November 3, 2011 at 9:48 pm
Try to compress the table and index which will gain more space and improve performance.
November 3, 2011 at 9:38 pm
Please check whether the view "rulebook_view" really exists. As you mentioned the schemas are same, then remove the article from the publisher and run the Snapshot Agent manually. After that...
November 3, 2011 at 9:35 pm
Insert into Non Clustered index column will be more faster as there is no need to change the physical sorting order of the data. Also more indexes on a table...
November 3, 2011 at 4:07 am
Viewing 15 posts - 1 through 15 (of 18 total)