Forum Replies Created

Viewing 13 posts - 136 through 148 (of 148 total)

  • RE: prevent clients to retrieve information_schema and sys metadata

    Thanks, but unfortunately we have over 800 DTS, they include data source/connections and most of them ActiveX VBScripts which use sa account and password (some DTS have up to 20...

  • RE: prevent clients to retrieve information_schema and sys metadata

    I have a weird situation. On a network with 4 SQL servers, I was asked to prevent 3rd party from connecting to 3 of the SQL servers, they may only...

  • RE: Sending Query Results in SMTP Mail

    --Any chance of seeing that fine query... I'm getting ready to do something similar. Thanks.

    --Jeff Moden.

    Hi Jeff

    I implemented smtp mail (SQL 2000) and dbmail (SQL 2005) a few months...

  • RE: sqlmaint.exe failed. [SQLSTATE 42000] (Error 22029). The step failed.

    sqlmaint.exe failed. [SQLSTATE 42000] (Error 22029). The step failed.

    SQL 2000:

    Go to Management, SQL Server Agent, Jobs, next to your job it will display Maintenance Plan name,

    i.e. Transaction Log Backup Job...

  • RE: IF EXISTS vs if @@rowcount

    CREATE TABLE Phone (

    Phone_ID int IDENTITY(1,1) NOT NULL,

    Contract_No int NOT NULL,

    Make varchar(20) NULL,

    Model_No int NULL,

    Year smalldatetime NULL,

    Warranty varchar(20) NULL,

    User_ID varchar(10) NULL,

    City varchar(20) NULL,

    Status varchar(10) NULL

    )

    Query1:

    SELECT Contract_No, Make, Model_No, Year

    FROM Phone

    WHERE...

  • RE: transaction logs

    Below are 2 reasons to truncate SQL Server log file/s (transaction log):

    1.

    Truncate log file/s if you have very little disk space left due to the SQL Server log file...

  • RE: IF EXISTS vs if @@rowcount

    Hi Jeff, thanks for the thorough explanation.

    I usually use execution plans to check for table scans, if I find a table scan relating to a table, the table normally does...

  • RE: transaction logs

    I normally use this method:

    1. backup log Pubs with no_log

    2. dbcc shrinkfile(Pubs_log, 100) -- shrink log file

    3. dbcc updateusage(Pubs) ...

  • RE: Subquery and Join (Speed)

    Hi Jeff, thanks for the excellent explanation, much appreciated. I prefer replies like these compared to the - ya perhaps, maybe, try this, depends.

    Regards

    Kevin

    sonyt65@yahoo.com

  • RE: T-SQL Code Optimizers

    What is the preferred option, with(nolock) or with(readpast).

    What is the preferred option, if exists or if @@rowcount.

    What is the preferred option, temporary table or derived table.

    What is the preferred option,...

  • RE: START own Service from SQL

    STEP1.

    Create a local account (Local Users and Groups, Users). The right-click account, properties, select Member of tab, click Add, type in Administrators, click OK.

    STEP2.

    Start, Control Panel, Administrative Tools, Services, right-click...

  • RE: SSIS Jobs running under SQL Server Agent

    Hi David

    I had a similar issue. One connection was pointing to local server (using local server's sa logon account), the other connection was pointing to another server (using that server's...

  • RE: SSIS Jobs running under SQL Server Agent

    If using 2 different accounts on 2 different servers, use Windows authentication in your SSIS Task connection manager for both connections.

    Regards

    Kevin

Viewing 13 posts - 136 through 148 (of 148 total)