Forum Replies Created

Viewing 15 posts - 2,356 through 2,370 (of 3,668 total)

  • RE: Performance of query processing on SQLServer

    If I understand you correctly you have a primary key with two columns in it.

    A search using the two columns within the primary key should use an index seek, or...

  • RE: conversion from sqlserver to access

    Are you talking about SQL 7.5/2000?

    I used to do something similar using a Data Transformation Services (DTS) package within SQL Server.

    Transfering the queries is a little more involved.

    SELECT, INSERT and...

  • RE: Select on table not working

    I am guessing that dope24_sa was an attempt to create a sysadmin role that wasn't the SA login.

    Prior to SQL2005 NOT having objects owned by the dbo was always ended...

  • RE: Is it possible to export to Word?

    If you are using SQL2000 there are stored procedures that let you use ActiveX controls.

    sp_oaCreate etc.

    You can instantiate a copy of word then call methods from the Word object model.

    I...

  • RE: View times out in EM but not in QA

    It is to do with the way in which EM makes its connections. You should try the new Management Studio if you have a timeout fetish. ...

  • RE: Best Practice

    Best practice would be to

    • Be explicit in your field names
    • qualify your object with its owner

    If you truly need dynamic SQL look at sp_executesql rather than exec. sp_executesql will...

  • RE: SQL Server 2005 Logins

    Hope the article on Symetric Keys and Certificates comes soon!

  • RE: SQL to return selected rows

    SELECT C1,C2
    
    FROM dbo.YourTable AS YT
    
    WHERE C1 IN (
        SELECT C1 
        FROM dbo.YourTable 
        GROUP BY C1 
       ...
  • RE: Help with Strategy -Database access/ Performance in Webbased Applications

    Try the new SQL2005 table partitioning as a starting point but read up on backing up of the database first.

    If your system is web based and .NET based then you...

  • RE: Production Server Hardware VS Staging/Testing Server Hardware

    At one place I worked the difference between the testing and production hardware was that the testing hardware was slightly more beefy than the production environment. The idea was...

  • RE: Indexing a View

    You can only use INNER JOIN for an indexed view.

    I take it that a MedicRecs record might not have a record in

    • Rating?
    • Providers?
    • Locale?
    • MedicProviders?

    Where possible I design my databases so that LEFT/RIGHT...

  • RE: Dates

    SELECT CONVERT(SMALLDATETIME,(CAST YourBIGINTColumn AS CHAR(8)),112)

    FROM dbo.YourTable

    This assumes that your BIGINT is always in full YYYYMMDD format that is February 9th this year was 20060209

  • RE: @Local_Variable 8k Limit

    If you don't need double-byte characters (in SQL2000) use TEXT rather than NTEXT.

    Phil, have you tried sp_executeSQL as a possible alternative to EXEC, it might give you a bit more...

  • RE: Management Studio with SQL Server 2000

    CTRL R toggels the results pane off and on just like in QA.

    By the way performance is almost acceptable if you stick 2Gb in your development machine.

    My dev machine is...

  • RE: SQL Sudoko

    No problems Daryl, there is actually a typo in your data because it has

    2,1,8 AND 3,2,8 which is against the rules as 8 would be in the same 1st...

Viewing 15 posts - 2,356 through 2,370 (of 3,668 total)