Viewing 15 posts - 20,776 through 20,790 (of 26,484 total)
Are you attempting to accomplish this from your desktop system or are you logged on directly to your server?
May 26, 2009 at 12:43 pm
Rod Carter (5/26/2009)
May 26, 2009 at 12:21 pm
Thanks, but there really is a lot more to the quirky update than is included in the post. It would be better if we had the full requirements for...
May 26, 2009 at 12:10 pm
Nope. Regardless of recovery model, all inserts, updates, and deletes are first written to the transaction log. This is done to ensure the ACID priniciples are adhered to...
May 26, 2009 at 12:04 pm
Based soley on your posted sample data here is some code to work with. This may need to be modified to meet your actual requirements.
DECLARE @time TABLE(time_ID int identity(1,1),time_entrydate...
May 26, 2009 at 12:00 pm
Instead of an identity column, you may need a "sequence generator" instead to provide a unique ID value for inserts. In SQL Server this could be a single row/column...
May 26, 2009 at 11:53 am
I may have missed it, but what version of SQL Server are you using?
May 26, 2009 at 11:45 am
You aren't adding records to previous year data, are you?
May 26, 2009 at 11:32 am
Have you run a FULL BACKUP of the database yet? If not, you need to run it now.
May 26, 2009 at 11:30 am
Will Summers (5/26/2009)
Lynn Pettis (5/26/2009)
May 26, 2009 at 11:14 am
Allister Reid (5/26/2009)
I've tried solving this with quirky update method, but having some difficulties!
Can't figure out how to add index to table variable? create index throws an error,...
May 26, 2009 at 10:59 am
When creating a partitioned view in SQL Server 2000, you also need to place a constraint on each table that ensures a record belongs to only one table, for example...
May 26, 2009 at 10:55 am
middletree (5/26/2009)
If I am reading you correctly, this should do what I need:USE CHEMPAXDW
GO
DBCC SHRINKFILE('CHEMPAXDW_Log', 10000)
BACKUP LOG WITH TRUNCATE_ONLY
DBCC SHRINKFILE('CHEMPAXDW_Log', 10000)
GO
Not quite.
BACKUP LOG [CHEMPAXDW] WITH TRUNCATE_ONLY
BACKUP DATABASE [CHEMPAXDW]
DBCC SHRINKFILE('CHEMPAXDW_Log',...
May 26, 2009 at 10:50 am
george sibbald (5/26/2009)
middletree (5/26/2009)
Wow. That could be a problem. The whole issue here is that there is no disk space. I don't have a place to back it up to.
then...
May 26, 2009 at 10:35 am
Noticed you are using SQL Server 2000. Any chance of upgrading in the near future? Partitioned tables in SQL Server 2005/2008 would greatly simplify your problem, IMHO.
May 26, 2009 at 10:30 am
Viewing 15 posts - 20,776 through 20,790 (of 26,484 total)