Forum Replies Created

Viewing 15 posts - 106 through 120 (of 716 total)

  • RE: Foreign Keys

    Nakul Vachhrajani (4/5/2011)


    Per Books On Line (http://msdn.microsoft.com/en-us/library/ms190639.aspx),

    If the clustered index is not created with the UNIQUE property, the Database Engine automatically adds a 4-byte uniqueifier column to the table. When...

  • RE: Dating for DBAs

    CirquedeSQLeil (4/5/2011)


    UMG Developer (4/5/2011)


    How many people actually use the ODBC date literals?

    I think very few in comparison.

    Yeah, I think the number of people answering correctly shows that. (Currently 33% of...

  • RE: MEM usage is high

    By default SQL Server uses everything that is available that it needs, if the OS pushes back SQL Server can give some back. (It is normally a good idea to...

  • RE: dynamic top value and optional parameters in sql server

    That should work and give accurate results. If you think it isn't can you provide the DDL and sample data so that we can see what you are seeing.

    Note: That...

  • RE: Time Convert

    If what Wayne produced is what you want, I might simplify his code just a little:

    DECLARE @test-2 TABLE (MyTime VARCHAR(4));

    INSERT INTO @test-2

    VALUES ('1425'),

    ...

  • RE: Time Convert

    tooba111 (4/5/2011)


    Here is my question I have source data like this

    Column_Name(Time)

    1425

    945

    1258

    And target field is Time

    How I can change Military time to normal time

    Time

    2:25 AM

    9:45 PM

    12:58 AM

    Thanks in advance.

    It...

  • RE: Dating for DBAs

    Nice question, thanks!

    How many people actually use the ODBC date literals?

  • RE: PatIndex

    I'm not sure I would do it this way, but with mixed types you have challenges.

    Try this:

    Select case when PatIndex('%[^0-9]%',left(Table2.[DESC], 6)) = 0 then

    CONVERT(DATETIME, CAST(Table1.YEAR * 10000...

  • RE: SQL Server running incredibly slow since Friday...

    Jeff Moden (4/5/2011)


    forsqlserver (4/4/2011)


    Looping Myself...

    Please explain.

    My guess is they are used to being added for immediate notifications when replying to a thread, so they added a reply to get notifications....

  • RE: What are these table variables used for?

    GilaMonster (4/5/2011)


    Look at the time of the log entry. Look at the time the message gives.

    Guess I should read the whole message. 😉 I was assuming that it ran...

  • RE: What are these table variables used for?

    GilaMonster (4/4/2011)


    UMG Developer (4/4/2011)


    I assume they are part of the CHECKDB process that runs when SQL Server starts.

    CheckDB doesn't run when SQL starts.

    Gila,

    Then what are all of these log entries...

  • RE: rename sa user

    Please note that some other things can be broken by renaming the SA account. I have seen a number of people with failed SQL Server upgrades because of that. (Yes...

  • RE: Update Multiple Rows

    Jeff Moden (4/4/2011)


    Please post free copies of ISO-11179 rules and spec on ISO8601 temporal formats or avoid such useless rhetoric. Please take up mind reading. I strongly recommend...

  • RE: Update Multiple Rows

    CELKO (4/4/2011)


    Please post real DDL. Learn to use ISO-11179 rules for the data element names, avoid needless dialect and use ISO-8601 temporal formats, codes and so forth. People cannot read...

  • RE: Go from SQL 2008 R2 standard edition to Developer?

    Brian Kukowski (4/4/2011)


    If, at some point in the future we decide to go to Enterprise, we'd want to (A) upgrade our production Standard installs to Enterprise, and (B) change our...

Viewing 15 posts - 106 through 120 (of 716 total)