Forum Replies Created

Viewing 15 posts - 11,896 through 11,910 (of 13,465 total)

  • RE: Is there a better way for this code?

    i think this part of the query is contributing to the slowness:

    AND a.LineNum <= D_BomCalcTrans_t05_t.LineNum

    because that can't be resolved as...

  • RE: How to update SQL Server table from a Temp table

    you are going to kick yourself...you did all the work, and are just missing the UPDATE ...FROM part:

    Update MyTable2 m

    SET m.field1 = ##MyTempTable.field1

    FROM ##MyTempTable

    WHERE m.field2 = ##MyTempTable.field2

  • RE: Installed 2000 Standard, but version is showing Personal

    yes you are right; and this is wierd;

    if the OS is 2003, then it should install 2000 standard version; if it is saying personal edition, that is not right....

    is it...

  • RE: Installed 2000 Standard, but version is showing Personal

    in a nutshell, you can't.

    you'll have to upgrade your operating system.... SQL 2000 standard or enterprise can only be installed on Server version operating systems...Win2000,2000 advanced server, 2003;

    The cd gracefully...

  • RE: Convert Binary Data to XML in a select

    see if this will help;

    here i'm just taking a static value and casting it to binary, then casting it back again.

    i believe that is all you'll have to do; it...

  • RE: Query in 2000 returns in 1 second, in 2005 it runs for more than six minutes

    SQL Noob (11/5/2008)


    once in a while we have weird problems like this and most times it's in a database that has been around since SQL 7 and continually upgraded across...

  • RE: SLOW PERFORMANCE AFTER 2000 TO 2005 UPGRADE

    in another thread on a similar issue, where his 2005 server was slower than his 2000 with the same query, someone finally identified that in their case, they had seen...

  • RE: Identity Insert Skips records

    you might need to review your web app for errors....

    the identity is incremented even if there is an error in your code.

    here's an example: the third insert will fail....the value...

  • RE: Why we need to use UPDATE STATISTICS ?

    David i don't know how useful it is, since for me it doesn't seem to be accurate;

    I've updated statistics on a table for example, but this report give me results...

  • RE: Collecting information about servers and DBs..........

    a lot of the information you ar elooking for(like IP address) is not stored in any database, so it can't really be done in TSQL without using something like xp_cmdshell...

  • RE: SELECT WHERE NOT IN query

    i think if this query:

    SELECT DISTINCT Cust_Num FROM fs_Unit

    returns a null in the distinct collection, you'll get no results;

    you might need

    SELECT DISTINCT Cust_Num FROM fs_Unit WHERE Cust_Num IS NOT NULL

  • RE: Tables and fields used by a query

    how about this idea:

    turn each query into a view, then use sp_depends VIEWNAME, then drop the views when completed?

  • RE: xp_cmdshell and psexec

    the issue you are running into is the account SQL server is running under is not an account that has access to the network. jobs (and xp_cmdshell, or anything that...

  • RE: Convert RTF data

    try this, it is slightly modified; if the dll cannot be created, an error will be raised....that would tell us that you need to register or re-register the RichText and...

  • RE: Convert RTF data

    Hi arun;

    with 8 pages of RTF examples, using various methods, which function are you using?

    if you are using something featuring sp_OaCreate, I'm sure the null gets returned if the richtextbox...

Viewing 15 posts - 11,896 through 11,910 (of 13,465 total)