Forum Replies Created

Viewing 15 posts - 20,506 through 20,520 (of 22,202 total)

  • RE: INDEX TUNING WIZARD ERROR

    What does the procedure GETSTOCKLEDGER do? It sounds like you may have incorrect syntax in there, but it could be something wrong on the server itself.

  • RE: DTA(SQL2K5) advices on sql2k database

    No. That's a bad plan. If you're maintaining a 2000 database, you should be testing against a 2000 database. There were changes, not necessarily big ones, but they're there, to...

  • RE: ALTER TABLE error...

    I had to clean up your code just a bit, but it works just fine:

    --created the tables so I could play

    IF NOT EXISTS ( SELECT *

    ...

  • RE: DatePart Function

    Oops. Modulo 3.

    :blush:

  • RE: no lock table or row when update transaction

    twity61 (4/30/2008)


    what do I examine the clustered index?

    yes. the users selecting the data that is being updated.

    the update take about 15min.

    snapshot isolation is good idea. I think it's...

  • RE: Running a command on a seperate threat

    I wasn't thinking about it earlier, but you could just write the whole thing in SSIS. That will multi-thread very well.

  • RE: performance problem

    Have you run a trace to capture the calls coming in to the server? Even if you identify a CPU problem, you need to figure out what's causing the problem.

  • RE: Table design

    a2zwd (4/30/2008)


    Hi,

    I am developing an application to a garment factory. I have a doubt in designing a table.

    Basic tables:

    Jobs, JobColors, Material, Units, Currencies ...

    These tables are designed with normalization rules.

    I...

  • RE: Running a command on a seperate threat

    Yep. TSQL is a scripting language. As such it's sequential. To launch a seperate "thread" you have to make a completely different connection and launch a script from there.

  • RE: Text datatype VS varchar datatype

    You can look it up in more detail in the Books Online (the SQL Server documentation), but Text is a BLOB or Binary Large Object data type. It stores data,...

  • RE: money Data type

    You can switch over to the decimal data type and you shouldn't lose any of your data. You'll have to write a script that migrates it over course, but no...

  • RE: how to count number of rows in a table column

    You can get that specific count for your manager one of two ways. Safely:

    SELECT COUNT(*)

    FROM MyTable

    WHERE MyColumn = 'OldValue'

    Or not so safe:

    BEGIN TRAN

    UPDATE MyTable

    SET MyColumn = 'NewValue'

    WHERE MyColumn = 'OldValue'

    ROLLBACK...

  • RE: SQL:Stmt Completed v SQL:Batch Completed

    Probably. I couldn't find good documentation on the detail of this, but my understanding is, the batch or rpc complete events include all the server side processing, beginning to end....

  • RE: IT salary is going down !

    Jason Selburg (4/30/2008)

    Now that's funny! I used to listen to fish farts on the USS Silversides (SSN 679) back in '89.

    I wonder how many other squids are on here....

    See....

  • RE: no lock table or row when update transaction

    Good suggestions and I'm happy to be wrong about the query hint.

Viewing 15 posts - 20,506 through 20,520 (of 22,202 total)