Forum Replies Created

Viewing 15 posts - 1,711 through 1,725 (of 2,487 total)

  • RE: Script to wait for file to start executing package. Event based Triggering.

    To set the Retry in the job.

    Edit the step, select the Advanced tab, fill in values for 'Retry attempts' and 'Retry Interval'.

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

  • RE: Using Different Techniques for SQL Server Automation

    As one who has been bitten by "On Error Resum Next" I now eliminate it wherever it's encountered. The following snippet is much better for VBScript error handling

    On Error Resume...

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

  • RE: Bringing Operating System File Information into SQL

    In addition to xp_dirtree, you can use xp_getfiledetails to return detailed information about a file or folder.

    eg: xp_getfiledetails 'C:\Temp\test.txt'

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

  • RE: turning off logging in sql error logs

    Firstly, why do you want to turn them off?? Is your log getting to big? If so, why not use sp_cycleerrorlog to create a new log file. You can adjust...

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

  • RE: Move data from staging to production

    Also, for efficiencies sake, you should specify a column in the SELECT statement.

    EG:

    WHERE NOT EXISTS (SELECT [your id fields] FROM MAXSYR etc...)

    This will prevent the query from spooling up the...

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

  • RE: how to get the filenames from the specified directory using sql server?

    For a far simpler method, check the answer to one of my past posts,

    http://www.sqlservercentral.com/forums/shwmessage.aspx?forumid=8&messageid=100177

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

  • RE: SQL Server 2005 Beta 2 Is Out!!!

    Interesting to note that the date the ISO was posted is 21st July, yet there were no official announcements until the 26th.

    Does it take 5 days to upload a 600mb...

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

  • RE: How to capture error message

    As you mention, the test from sysmessages isn't that helpful.

    Try this interesting technique,

    http://www.sqlservercentral.com/columnists/ajethva/capturingtheerrordescriptioninastoredprocedure.asp

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

  • RE: Problem with BULK INSERT And SQL MAIL

    So where exactly does it fail and what is the error message?

    Does it get to the xp_sendmail part?

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

  • RE: DTS

    Don't know which version of SQL you're seeing this in.

    DTS Packages are stored as a Binary object in the sysdtspackages table which resides in msdb.

    I don't know any method for...

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

  • RE: sql server agent log

    Make the domain account a LOCAL administrator, or specifically grant it access to write to the event log.

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

  • RE: MS SQL SERVER 2005 beta

    There will be a Management Tool for SQL Express 2005 shipping at a later date.

    In VB 2005, I believe if you open a new database project you can then create...

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

  • RE: A little SQL help, please?

    You'll need to use a subquery, or derived table.

    EG:

    SET NOCOUNT ON

    CREATE TABLE #TABLE_REPORTS (

    [user_id] char(1)

    , report_name varchar(10)

    , descr varchar(50)

    )

    INSERT INTO #TABLE_REPORTS

    VALUES ('A', 'report_a', 'first month report')

    INSERT INTO #TABLE_REPORTS

    VALUES...

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

  • RE: Urgent Solution to Installation

    This depends on whether you want to shell out for another SQL Server License or not. Installing Reporting Services on your existing SQL Server will avoid that. Installing it on...

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

  • RE: GrandTotals in Matrices

    A Grand Total is generated for the first "Row Group".

    Eg: If you have subtotals for three row groups (Country, State, City) you will get a subtotal of cities for each...

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

Viewing 15 posts - 1,711 through 1,725 (of 2,487 total)