Forum Replies Created

Viewing 15 posts - 4,561 through 4,575 (of 7,502 total)

  • RE: Non-Nullable Field with No Default Good Practice?

    Well, if there is no "default" value that can be justified at logical database schema design, there will be no default value at physical fase.

    Having a column without a default...

  • RE: "Select *" from a view

    good gut feeling :w00t:

    It depends what's the definition for the particular view.

    e.g.

    [Code]

    Create view myview

    as

    select col1, col2

    from mytable

    where thekey = 15

    go

    Select * from myview

    [/code]

    Will most likely not do as...

  • RE: Change the DBO login

    e.g.

    This one will map sqlaccount sa to the dbo user of your db.

    Check BOL

    exec sp_changedbowner 'sa', true

  • RE: Embedding function calls in a query

    you could just embed your primary query ...

    Select nestsel.*,

    mkt_rate = dbo.get_mkt_rate( ,...),

    pipsaway = dbo.Calc_Pips_Away(nestsel.ticket,

    ...

  • RE: Difference between unique constraint and unique index and what is preferred?

    just my 2ct.

    You could also consider a constraint to be meta data for your database. This way it needs to be part of your system.

    Having it as a constraint will...

  • RE: Server Auditing

    Also a nice tool for this can be SQLCMD

    If you have an inventory table containing all your sqlserver instance names, you can run a script and save all results,....

    Create a...

  • RE: What is the result ? (SQLServer 2005)

    barb.wendling (9/10/2008)


    I did the same thing, edited the single line to two lines and it worked in QA. I was wondering if anyone had ideas on how this feature (GO...

  • RE: MSDB _ Stored procedure to fin Job Details

    Most of my jobs only have step with "Fail job if step fails", so I've only checked for the failed steps.

    This version only reports if the actual job failed...

  • RE: What is the result ? (SQLServer 2005)

    You need to use SSMS (SQL 2005) to get the result aimed for with the question.

    Apparently it's SSMS that puls this trick !

    Indeed With Query Analyser, you'll get the syntax...

  • RE: What is the result ? (SQLServer 2005)

    Keep in mind SSMS has some issues with e.g. char(13) resulting in a "syntax error near ...."

    And off course you'll need to have the default 'go' for batch separator...

  • RE: Can anyone see an advantange?

    sqlserver timestamp is "for internal use only" !!

    This kind of columns will be updated by sqlserver itself with every modification to the row !!

    This is not a datetime column !!!

    We...

  • RE: Severe performance problems

    Considerations for the "autogrow" and "autoshrink" settings in SQL Server

    http://support.microsoft.com/kb/315512

  • RE: tempdb reporting Error: 9002 log full

    Ken Stelter (9/8/2008)


    ... But, they don't really allow me much time to monitor logs and such: it's not value-added work:crazy: ...

    Oh yes, SCADA stuff, not that much sqlserver performance...

  • RE: Severe performance problems

    just curious: Do you have "auto shrink" enabled for this database ?

    (Bad practise ! If you actually need a shrink operation, you'd be better off doing it in a planned...

  • RE: TEMPDB Help

    stop / start the instance and it will re-allocate tempdb with its prior space numbers.

    (because it has to clear its work space file)

Viewing 15 posts - 4,561 through 4,575 (of 7,502 total)