Forum Replies Created

Viewing 15 posts - 2,746 through 2,760 (of 3,008 total)

  • RE: delete

    Take a look at this thread:

    Truncate All Tables

    http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=65341

     

  • RE: Hardware & RAID Configuration - What''''s the best

    Just remember that everything is a cost vs. benefit decision.  It is really a matter of deciding where to spend the money, and that depends on your application.  For example,...

  • RE: Navigation links for threads

    It would also be helpful if the Active Topics highlighted topics I have already posted on.

     

  • RE: x-way min

    Your case statements produce null results when the values are equal.  Even if you correct the logic, it is more difficult to scale it up for more columns (x-way min), while the subquery...

  • RE: Navigation links for threads

    The Active Topic problems really makes answering questions on the forums a lot harder to do, because it's so much work to locate new postings.  It's a big reason why I spend much...

  • RE: Being passed on after an interview

    I had a guy get up and leave in the middle of an interview, because he thought the job was beneath him.  A couple of years later, he came...

  • RE: Changing the SA password

    Either of these commands will change the SA password in 2005.  SP_PASSWORD works with earlier versions of SQL Server.

    exec sp_password  @new = 'MyNewPassword' , @loginame = 'SA'
    alter login SA with...
  • RE: DBA''''s more scarce in 2007

    There is always a shortage of top talent for any job.

    There is always a plentiful supply of second-rate talent and just plain incompetents for any job.

    There is never a...

  • RE: Can someone please explain the datatype SYSNAME

    You can create a user table with a column of type SYSNAME.  I just ran this code OK in SQL 7.0, 2000, and 2005:

    create table MyTableWithSYSNAME ( MySYSNAME sysname not null...
  • RE: Last Friday of given week

    The last Friday of a given week?  Do you have weeks with more then one Friday?

  • RE: Navigation links for threads

    Maybe I should start a new thread for this, but I find the Active Topics feature almost unusable.

    If there are more than 15 topics on a page, it gives you...

  • RE: Can someone please explain the datatype SYSNAME

     

    A server name, database, login, user, table, view, stored procedure, function, etc. are only restricted to having names that are SYSNAME (NVARCHAR(128)).

     

    Just because your current names...

  • RE: Update values with random values

    Jeff, I think you need to check that formula.  It produces values in the range of -5 to +5:

    (ABS(CHECKSUM(NEWID()))%11-5)

     

    This may be closer to what you are suggesting.  It produces values in...

  • RE: x-way min

    Here is a way to do it with a subquery.  It may be handier to do it this way, because it does not require the main query to be grouped. ...

  • RE: Convert smalldatetime to int

    Good guess on my part, huh?

    My experience is that posts like this are almost always looking for a conversion to/from UNIX time, so I took a shot at it.

     

     

Viewing 15 posts - 2,746 through 2,760 (of 3,008 total)