Forum Replies Created

Viewing 15 posts - 1,756 through 1,770 (of 2,043 total)

  • RE: Processor Usage

    You can monitor the queries with sql profiler. Check on cpu, read, writes.

    Have you checked the table scan, sql compilations, recompilations / sec counters in performance monitor?

  • RE: Stored Procedure Invalid Column Error

    If you execute the queries step by step, when does it error out?

    You can split the stored procedure later in smaller parts.

    --step 1

    DECLARE @FinFileName varchar(500)

    SET FinFileName ='myfile' -- The...

  • RE: Auto import data into Access

    In which Access version?

    We've been using docmd.transfertext in a VBA module to import text-files into tables in Access 97 using a import-specification (takes only 1 time to make them and...

  • RE: Upgrading from Access

    Access 97 has a database limit of 2 gb, Access 2000 and higher 1 gb (not sure, check help)

    Is the data already located in another database than the forms/queries/code?

    Size doesn't...

  • RE: How to optimize this SQL code of datetime

    exp_dt = cast('9999-12-31' as datetime) would be preferable, since sql server only has to convert once and can use an index on exp_dt.

    Otherwise it has to convert each value and...

  • RE: VB - SHAPE and SPs using temporary tables

    Ain't familiar with SHAPE.

    Does the same happen when you make a new stored procedures that calls the other 3? It might be using 3 different connections.

     

  • RE: Peformance problems with updates affecting indexed views

    In sql 2000 BOL:

    Indexed views are meant for static tables that have very infrequent changes.

    Indexed views can be more complex to maintain than indexes on base tables. You should create...

  • RE: Update fails error...pls help me out...

    or with a join

    UPDATE EMP

    SET ID = ISNULL(DEPT.ID, 0)

    FROM EMP LEFT JOIN DEPT ON EMP.NAME = DEPT.NAME

  • RE: Query is slower when requested by a external program

    - If the application is holding locks, does that mean you suspect that it is executing more than one query apart from the one i'm analyzing and that is...

  • RE: Query is slower when requested by a external program

    I can't find the exact definition for duration at the moment. But it could be that the application is holding locks till all rows are fetched.

    The results are both executed...

  • RE: Quick RAID tutorial

    nice one

  • RE: About the good''''ole Junction Table...

    identity(1,1)

    Identity seed (=start) = 1 (first parameter)

    Increase by 1 (second)

  • RE: Query is slower when requested by a external program

    I see that the query executed directly on the database needs 65221 reads and takes 0.5 secs

    And when it is the VB application that requests the query it needs also...

  • RE: Table owner

    can I see a link to these best practises?

    All best practises I've seen mention that all objects should be owned by dbo.

    (permission chaining, limiting wildgrowth,...)

    Databases are normally owned by sa...

  • RE: Length of character data types

    out of my head:

    varchar: easily searchable but limited to 8000 characters (4000 for nvarchar)

    text: allows more but is not so searchable because it isn't stored in the "record" itself, just...

Viewing 15 posts - 1,756 through 1,770 (of 2,043 total)