Viewing 15 posts - 736 through 750 (of 1,109 total)
blahknow (10/22/2007)
That solved the problem !!!:D
Thank you v e r y much Andras !
Is there a book that can be helpful in incidents such as this ?
Thanks again...
October 22, 2007 at 5:56 am
blahknow (10/22/2007)
select name, size, maxsize, growth from dbo.sysfiles where fileid=2
yields
fiftyplus_Log ...
October 22, 2007 at 5:41 am
Could you also check if filegrowth is set:
select name, size, maxsize, growth from sys.sysfiles where fileid=2
Andras
October 22, 2007 at 4:46 am
connect_ninad (10/22/2007)
Step 1 :
u can use the following command :
backup log with truncate_only
Step 2 :
Go...
October 22, 2007 at 4:38 am
blahknow (10/22/2007)
I used your advise, ran the query and got the following message:
Processed 66 pages for database 'fiftyplus', file 'fiftyplus_Log' on file 2.
BACKUP LOG successfully processed...
October 22, 2007 at 4:34 am
You can use a statement like:
BACKUP LOG foo2 TO DISK = 'G:\foo2.bak'
where foo2 is the name of your datebase.
You can read more about the backup at http://msdn2.microsoft.com/en-us/library/ms186865.aspx
Make sure you have...
October 22, 2007 at 3:46 am
You could export the data using bcp, then import it? But there are excellent third party tools that can help you here. They can map columns in such data movements....
October 22, 2007 at 3:42 am
Hi Sandy,
in addition to my previous post, you can get more information about the computed columns from the sys.computed_columns view. This also contains the computed expression you have specified....
October 22, 2007 at 1:47 am
Hi Sandy,
you can get the above information form the system views. Schema objects are in sys.objects, columns are in sys.columns, data types are in sys.types (I assume you are on...
October 22, 2007 at 1:43 am
You could either use a user defined function or a procedure with an output parameter.
Two examples:
CREATE FUNCTION dbo.f1 ( )
RETURNS INT
AS BEGIN
DECLARE @a INT
...
October 22, 2007 at 1:36 am
Writing binary data, especially if you want to write out to several files, several objects, ... to disk is a bit of a pain. Your best bet would be to...
October 19, 2007 at 8:55 am
Conway Painting is of course right, that you would generally return the data in the result sets. The temptable and table variables in this case are most useful for producing...
October 19, 2007 at 8:17 am
Hi,
you could use both table variables and temporary tables. In terms of scope both of them will be restricted to your stored procedures. Both have advantages and disadvantages. Basically if...
October 19, 2007 at 7:50 am
On possible breaking behavioral difference in SQL Server 2005 that concerns datetime functions is that converting character strings to datetime implicitly is now considered to be non-deterministic. This is more...
October 19, 2007 at 6:28 am
rabartels (10/19/2007)
You also could add a step, after backing up the transaction log :dump transaction mydatabasename with no_log
dump log mydatabasenameg with no_log
/* no shrink DB */
EXECUTE sp_updatestats
Then shrinking database
EXECUTE sp_updatestats...
October 19, 2007 at 6:03 am
Viewing 15 posts - 736 through 750 (of 1,109 total)