Viewing 15 posts - 1 through 15 (of 253 total)
Check if using ROWLOCK hint helps...
November 5, 2007 at 10:55 am
Modify your script to drop the table explicitly at the end otherwise your tempdb will choke if you have multiple users creating objects in tempdb and they are not dropped...
November 5, 2007 at 10:53 am
You need to use dynamic SQL. Something like this:
declare @fileg varchar(60), @sql varchar(500)
set @fileg = substring(CONVERT(VARCHAR, DATEPART(YEAR, GETDATE())), 3, 4)
Set @sql = 'create table dbo.test...
November 5, 2007 at 10:49 am
You better put it IN the JOIN or use WHERE. example:
from dbo.Orders o
join dbo.Account acct with (nolock) on h.AccountID = acct.AccountID
join sourceOrders aa with (nolock) on h.InvoiceNumber = aa.SourceInvoiceNumber
and...
November 5, 2007 at 10:45 am
Isnt the loading process being done during off hours?
November 5, 2007 at 10:39 am
I would recommend disabling the replication, do your upgrades, then re-setup replication. You need to configure the distributor first. Look up books online in 2005 for replication setup steps. They...
November 2, 2007 at 11:48 am
You can get the data in, and run an UPDATE with REPLACE to remove the double qutoes.
October 30, 2007 at 10:04 am
Also, note that you can use CROSS APPLY to get the text directly and use it in a JOIN stmt instead of looping through. If your query is executing quickly...
October 29, 2007 at 3:17 pm
I think you have to drop the indexes and recreate them on the new filegroup.
October 29, 2007 at 12:59 pm
Usually the dateformatting should be done at the client level. If you need to use the same format irrespective of the client you can specify the SET DATEFORMAT just before...
October 29, 2007 at 11:46 am
Try sp_removedbreplication to drop any replication related stuff from the db.
October 29, 2007 at 11:44 am
If the table is small, try dropping the article from the publication and add it back and see if you can replicate the error.
October 29, 2007 at 11:42 am
In sql 2005 you dont need to use sp_Repladdcolumn. You can just do a regular ALTER TABLE and the table is modified at the subscriber too.
September 28, 2007 at 5:11 pm
Viewing 15 posts - 1 through 15 (of 253 total)