Forum Replies Created

Viewing 15 posts - 1 through 15 (of 17 total)

  • RE: Automated Restore

    I looks like the problem was with trying to run the restore procedure from the Database I was trying to restore.  One I moved it to the master database everything...

  • RE: WARNING: Failed to reserve contiguous memory of Size= 65536

    Thanks for the info

    I will try the -g.  I think this make sense based on BOL since one of the areas failing is SQLMail which needs to load a .dll. ...

  • RE: Scripting Linked Server Logins and Passwords

    I looked at your script and I think I now see the problem:

    change this table to

    create table #tsysxlogins (

     [srvid] [smallint] NULL ,

     [sid] [varbinary] (85) NULL ,

     [xstatus] [smallint] NOT NULL ,

     [xdate1]...

  • RE: Scripting Linked Server Logins and Passwords

    Am not quite sure about this.  The script I have is just for getting the encpyted password off one server and updating the password on another.  We had other scripts...

  • RE: Scripting Linked Server Logins and Passwords

    The query I wrote assumes:

    1.  The logins are already on both servers

    2.  The logins have the same "Name" on both servers

    3.  Only the password is transffered

    4.  It is transffered from...

  • RE: Scripting Linked Server Logins and Passwords

    Note: the system turned one of my Close parens into a weird happy face.

    I have used this script to pull passwords off one server ( the old production server) and...

  • RE: BCP error

    Well I finally figured this out.  I am using the Queryout option in BCP to run an sp.  It turns out the problem was caused by a case statement in...

  • RE: BCP call to SP with temp table not working

    There is a problem in BCP handling querries with temp tables correctly.  I am not exacly sure what causes it.  All I know if that you will have to redesign...

  • RE: Really wierd Transaction? issue

    The issue here is actually quite simple .  When you do an if statement it applies to either:

    1.  The statement immediately following the if

    2. ...

  • RE: Schedule a Stored Procedure To Email?

    look at the bol for xp_sendmail. You have to have the email setup correctly on the server, but once this is done just pass you query into the xp_sendmail...

  • RE: Stored Procedure Polymorphism ??

    The following is what I use to handle optional Parameters:

    SELECT * FROM Customer

    WHERE coalesce(CustName, '') = coalesce( @CustName, CustName, '')

    and coalesce(CustCity, '') = coalesce( @CustCity, CustCity, '')

    and...

  • RE: What is this warning

    If the warning is causing problems, just do an "Is not Null" on the Aggrated value in the where clause. I know some .asp code really does not like...

  • RE: Using Print

    I figured this out. If I turn No Count off and then back on again. It flushes the buffer.

  • RE: Replacing imbedded blanks

    There are at least two ways to do this. Easy but may not too effiecient. Just call replace and replace 16 blanks with one blank. Then call...

  • RE: SUM() returns exponent based value instead of 0

    When using floating point numbers. The underlying data is stored in a Base-2 binary format. Remember from back in your math classes that is is not always possible...

Viewing 15 posts - 1 through 15 (of 17 total)