Forum Replies Created

Viewing 15 posts - 26,071 through 26,085 (of 26,490 total)

  • RE: Restore Problem

    It appears that there my have been a truncate of the log file done between the differential backup (file 3) and the next transaction log backup (file 4).

    I am guessing...

  • RE: Restore Problem

    If the scripts above are accurate, I don't see you using the NORECOVERY option while restoring the differential backup.

    Also, what happens if you restore the full backup (file 1) and...

  • RE: Stored procedure Complexity

    I have gone back through my posts and have found four threads for this same procedure.

    I really can't stress enough that you need to try to solve your problems first...

  • RE: how many columns is ''''too many'''' ?

    As a consultant would say: It depends.  If some columns are accessed or updated more frequently than others, it may make sense to vertically partition the table.  It really comes...

  • RE: Stored procedure Complexity

    Never had a reason to do what you are trying to do.  When I started a job with sp_start_job, that was all I was interested indoing as I was doing...

  • RE: Stored procedure Complexity

    I know I am getting old, but this looks like your asking the same question again.  After you start the job using sp_start_job, you will need to loop inside your...

  • RE: Passing Source table to Stored Procedure

    Only way I know, is to hard code the tablename inside the trigger.

  • RE: MCTS 70-431 Down but not out!

    I would recommend putting up the $50.00 for SQL Server 2005 Developer Edition.  It is well worth the investment!

  • RE: Logic error..Monthly report query with joins doesnt work

    Not sure about others, but I could use the DDL for your tables and some sample data and expected results so that i could do some testing.

  • RE: Default NULL not working

    Also, a default value is only inserted if you don't provide a value for that column.  In your insert statement, a value is being provided, which defeats the purpose of...

  • RE: Executing gzip or sslftp from within an SSIS Package

    That was one of the options I was looking at, but I think I found what I wanted, and it was staring me in the face the whole time: the...

  • RE: Executing gzip or sslftp from within an SSIS Package

    Any help here would be appreciated.

    Thanks

  • RE: Default NULL not working

    The reason you were getting a zero inserted is that '' converts to 0 when cast as an int.  Try this:

    select cast('' as int) -- the return value is 0

  • RE: Simple Complex Stored Procedure

    No.  Do the proc the way I had it.  the execute statement looks something like this then (read BOL to be sure of the syntax).

    declare @myvalue int

    exec dbo.Load_Audi_Excel @myvalue =...

  • RE: Simple Complex Stored Procedure

    Humor me, try this and see if it does what you want:

    CREATE PROCEDURE [dbo].[Load_Audit_Excel]

         (@Return_Code int Output)

    AS

    BEGIN

    SET NOCOUNT ON;

        SELECT @Return_Code = count(*) FROM [Header$]

        EXEC msdb.dbo.sp_start_job @job_name='Audit'

    END

    thanks

Viewing 15 posts - 26,071 through 26,085 (of 26,490 total)