Forum Replies Created

Viewing 15 posts - 541 through 555 (of 2,487 total)

  • RE: Trouble in suppressing error messages

    Ok, so I gather you get a text file with the T-SQL statments, still got no idea how you're executing the T-SQL.

    If you're running a client application, like a VB...

    --------------------
    Colt 45 - the original point and click interface

  • RE: Trouble in suppressing error messages

    Where are you executing the T-SQL? Query Analyzer, application, etc... ???

    What T-SQL are you executing?

    What error are you getting?

    You might not be able to suppress all error messages because some...

    --------------------
    Colt 45 - the original point and click interface

  • RE: make database read-only?

    From Books Online, the correct syntax to make the database read-only is,

    ALTER DATABASE booka SET READ_ONLY

    The command you're trying is setting the filegroup to be read-only.

     

    --------------------
    Colt 45 - the original point and click interface

  • RE: DTS Asynchronous operations? / Progress data sent back to calling VB procedure?

    How does you VB\VBA procedure execute the package? Does it execute it via the object model? eg: pkg.Execute, or using the command shell using DTSRUN?

    Easiest thing I can think of...

    --------------------
    Colt 45 - the original point and click interface

  • RE: DTS Standards

    Like the naming convention, just hate it when you look at the package and can't see the full name because of those annoying dots.

    DECLARE @MyVar varchar(30)
    SET @MyVar = '000000045654'
    SELECT SUBSTRING(@MyVar, PATINDEX('%[^0]%', @MyVar), LEN(@MyVar))
     

    --------------------
    Colt 45 - the original point and click interface

  • RE: Comparing and updating data in two tables from different DBs

    Sorry, mis-read the "...should not..." line.

    The Data Driven Query is a task in DTS. Basically you give a source SQL Statement and a set of insert/update/delete statements to run on...

    --------------------
    Colt 45 - the original point and click interface

  • RE: Large Capacity Drives verses Small Capacity drives

    "...you are only saving $900..."

    Yes, but Carl, some of us work for companies where $900 is a big thing. I recently specc'd out a couple of new servers and had...

    --------------------
    Colt 45 - the original point and click interface

  • RE: Comparing and updating data in two tables from different DBs

    If you can use Linked Servers then this is probably the way to go.

    Update t2
    Set t2.status = t1.status
    From dbo.table2 t2 
    Inner Join server1.db1.dbo.table1 t1 
    On t1.agentid = t2.agentid

    If a...

    --------------------
    Colt 45 - the original point and click interface

  • RE: FYI: Multiple values in an SRS parameter

    Keith

    Hopefully your exercise has taught you not to go crazy for two weeks.

    Searching for 'multiple values in report parameter' right here at SQLServerCentral would have produced a resolution a lot...

    --------------------
    Colt 45 - the original point and click interface

  • RE: if server fails, does server finish the tranaction that did not occor by reading the tranaction log?

    If the transaction hasn't been committed in the transaction log, then it is rolled back when the server restarts.

     

    --------------------
    Colt 45 - the original point and click interface

  • RE: Agent stopped when Job running

    That is precisely why I switched from using MAPI based SQL Agent Mail to xp_smtp_sendmail from http://www.sqldev.net

    Once setup, you can bounce the Exchange server as much as you like...

    --------------------
    Colt 45 - the original point and click interface

  • RE: DTS to get *.CSV files through SSL or Https

    The is no task in DTS that will do this.

    I did a Google search and came up with the following

    URL="target URL"
     TEMPPATH = "C:\test\"
     OUTPUTFILE = TEMPPATH & Mid(URL,...

    --------------------
    Colt 45 - the original point and click interface

  • RE: MAPI profile without outlook

    Why bother with the additional overhead of MAPI?

    There is a perfectly useable free extended stored procedure that utilises SMTP available at http://www.sqldev.net

    This was complimented recently with the addition of...

    --------------------
    Colt 45 - the original point and click interface

  • RE: list of sql server running in my domain

    ... and if they're not braodcasting on the network, they won't be listed. That's why a third-party tool is best.

     

    --------------------
    Colt 45 - the original point and click interface

Viewing 15 posts - 541 through 555 (of 2,487 total)