Forum Replies Created

Viewing 15 posts - 586 through 600 (of 790 total)

  • RE: Not Rounding

    I know I would

    Cheers,

    - Mark

  • RE: Not Rounding

    You get FLOAT as a result because of SQL Data Type Precedence (Look up "Data Type Precedence" in BOL).

    29.99 is a valid decimal, and is a valid value that can...

  • RE: Sql lock

    SQL locking changed from 6.5 to 7.0, and less so (if at all) from 7.0 to 2000. The following is from SQL 7.0 BOL.

  • RE: Not Rounding

    The result of A.RetailPrice * F.salesQuantity might be a FLOAT datatype, which won't round properly.

    What are the results of:

     
    
    select sql_variant_Property(round(29.989999999999998,2),'BaseType')
    select sql_variant_Property(round(A.RetailPrice * F.salesQuantity,2),'BaseType')

    Well,...

  • RE: URGENT PLEASE!disabling data integrity constraints

    Try...

     
    
    exec sp_msforeachtable 'alter table ? nocheck constraint all'

    and...

     
    
    exec sp_msforeachtable 'alter table ? check constraint all'
  • RE: SQL Server restarts itself

    Was a new errorlog started?

    Was a SQL symptom dump produced in the log directory?

  • RE: running sql scripts from command line

    This example uses osql to test for the author 'White' in pubs, returning zero to the client if there otherwise 1. The && bit tests for zero and executes the...

  • RE: SQL Server grinds to a halt

    I suggest starting with a regularly scheduled profiler trace, capturing Batch and RPC Completion events and certainly the database amongst the columns.

    You could have it scheduled for several...

  • RE: Tracing CPU usage

    Is there a possibility that the culprit CPU-hog continued to run throughout and after the 2 hour trace, therefore not registering as a completed event?

    Edited by - mccork on 07/27/2003...

  • RE: how to how Backing up Jobs !!

    Yes, for all jobs, right-click on "jobs" in left pane. For an individual job, right-click on the particular job in right pane.

  • RE: running sql scripts from command line

    Viorel,

    Can you please clarify...

    a) do you want to run a script that has all the decision making in it? ie. 1 round trip, where it goes to the server,...

  • RE: Profiler - Logging Results to a Table

    Dinesh,

    Is your problem possibly that you're trying to read the trace file while it's still open and Profiler is writing to it? My understanding is that you can only...

  • RE: how to how Backing up Jobs !!

    quote:


    1

    how to Backing up Jobs ???

    -------------------------


    Simplest way is by backing up msdb.

  • RE: Transaction Log Backup fails

    The other DBs are probably not in Full Recovery Mode, therefore tlog backups cannot be done.

    Suggest you only have tlog backups for your user databases, not for the system databases.

    Did...

  • RE: bcp with multiple table queryout

    I tested a BCP queryout joining (PUBS) authors and titleauthor and it worked ok.

    I notice you have a syntax error in your query (t.field. t.field). Could that be the...

Viewing 15 posts - 586 through 600 (of 790 total)