Forum Replies Created

Viewing 15 posts - 736 through 750 (of 1,109 total)

  • RE: update query fails, sql server 2000

    blahknow (10/22/2007)


    Excellent indeed !!!

    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...

  • RE: update query fails, sql server 2000

    blahknow (10/22/2007)


    Hi,

    select name, size, maxsize, growth from dbo.sysfiles where fileid=2

    yields

    fiftyplus_Log ...

  • RE: update query fails, sql server 2000

    Could you also check if filegrowth is set:

    select name, size, maxsize, growth from sys.sysfiles where fileid=2

    Andras

  • RE: update query fails, sql server 2000

    connect_ninad (10/22/2007)


    I think u need to shrink the log file after taking backup...

    Step 1 :

    u can use the following command :

    backup log with truncate_only

    Step 2 :

    Go...

  • RE: update query fails, sql server 2000

    blahknow (10/22/2007)


    Hi Mr or Mrs. 500

    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...

  • RE: update query fails, sql server 2000

    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...

  • RE: Data Migration from SQL Server 2000 to SQL Server 2005

    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....

  • RE: CREATE TABLE STATEMENT

    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....

  • RE: CREATE TABLE STATEMENT

    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...

  • RE: query help - searching table and returning value from record

    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

    ...

  • RE: Saving binay data to disk via TSQL???

    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...

  • RE: Return a Table from a Stored Procedure

    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...

  • RE: Return a Table from a Stored Procedure

    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...

  • RE: SET DATEFIRST option

    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...

  • RE: SQl LOG file growing

    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...

Viewing 15 posts - 736 through 750 (of 1,109 total)