Forum Replies Created

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

  • RE: Closed Recordset returned?? WHY?

    Your connection string is probably something like:

    CnnStr = "Provider=SQLOLEDB....."

    Try CnnStr = "Driver={SQL Server};Server=...;DataBase=..."

     

     

     


    Stanislav Petkov

  • RE: Application Timeouts

    You can also take a look at you COM components - if you have for instance a server-side recordset and for each record in it openning another recordset - they...


    Stanislav Petkov

  • RE: IP Address instead of Host Name?

    You can execute netstat -na in a command window on the server. The IP addresses next to the ServerIP:1433 will show you who (IP) is trying to connect to the...


    Stanislav Petkov

  • RE: FoxPro to Sql 2000 Migration

    quote:


    My suggestions are as follows...

    1. Do NOT use C# for large apps.

    ....


    PhilBest,

    This is off topic,...


    Stanislav Petkov

  • RE: Job Monitoring

    Here is what I do:

    I have all the SQL servers of interest linked to my desktop SQL server. I have a single table and a stored procedure on the same...


    Stanislav Petkov

  • RE: will sql server 7 run on windows xp?

    The SQL 7 Desktop edition will run on WinXP - make sure you install the latest SP for the SQL server.

    The VB6 will run on WinXP - it is important...


    Stanislav Petkov

  • RE: Script to see if SQLAgent is running

    If you want to address only one element of the collection - it is like this:

    Set OneService = oWMIObjSet("\\ServerName\root\cimv2:Win32_Service.Name='SQLSERVERAGENT'")

    As you can see it is more simple to go with For...


    Stanislav Petkov

  • RE: Generate SQl Script

    You can investigate what EM does when scripting objects by starting a trace and scripting the objects at the same time. You will see what SPs are being used and...


    Stanislav Petkov

  • RE: Script to see if SQLAgent is running

    Just to add some WMI flavor here:

    The script could be executed from a workstation if the user has admin rights to the box and if WMI has been installed (it...


    Stanislav Petkov

  • RE: Indexes

    Try the script below - it will give you the index columns and their position in the index.

    Select Tables.Name As TableName,

    Indexes.Name As IndexName,Keys.KeyNo,Cols.Name...


    Stanislav Petkov

  • RE: sa\Admin password unknown -- trouble...

    Ask for your Lan Id to be added to the local administrators group on the box - if they haven't changed the BUILTIN\Administrators login - that might give you Sysadmin...


    Stanislav Petkov

  • RE: SQL7\NT Auth and Agent Jobs

    It looks like the sp_cycle_errorlog can only be executed by the SA user - if you open the SP - there is a call to suser_id() and it should be...


    Stanislav Petkov

  • RE: SQL7\NT Auth and Agent Jobs

    Is the account member of the System Administrators role on the server ?

    If you have excluded the BUILTIN\Administrators from this role, then make sure the account is member of...


    Stanislav Petkov

  • RE: SQL7\NT Auth and Agent Jobs

    Make sure that the user is member of the local administrators group and in the job properties select sa for the owner.


    Stanislav Petkov

  • RE: SQL7\NT Auth and Agent Jobs

    Make sure that the user is member of the local administrators group and in the job properties select sa for the owner.


    Stanislav Petkov

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