Forum Replies Created

Viewing 15 posts - 2,116 through 2,130 (of 3,008 total)

  • RE: Common Mistakes in T-SQL

    How about stupid date queries like this:

    where Convert(varchar, CreationDate, 101) between Convert(datetime,@FromDate, 101) And Convert(datetime, @ToDate, 101)

    which can amount to something like this:

    where '12/30/2008' between '12/25/2008' And '01/05/2009'

  • RE: Ok, its their first day on the job.

    How about having some non-work related books so your new co-workers don’t think you’re a total dork?

    Leave out a copy of “The Prince” by Niccolo Machiavelli so they’ll think you’re...

  • RE: SQL Server taking all the memory 24/7

    What you describe is completely normal behavior for SQL Server. When SQL Server allocates memory, it does not give it back unless there is pressure from the OS.

    Why are...

  • RE: Database Snapshots

    RBarryYoung (12/30/2008)


    From the 2008 BOL:

    The Scalable Shared Database feature enables you to scale out a read-only database built exclusively for reporting (a reporting database). The reporting database must reside on...

  • RE: Database Snapshots

    sheppc1214 (12/30/2008)


    Can someone provide information about "a shared scaleable database"?

    Sounds like marketing BS.

    A database has to be "shared", or it wouldn't really be much of a database.

    As for "scaleable", is...

  • RE: Generating random 6 digit numbers

    Jeff Moden (12/29/2008)


    The cast to VarBinary takes more time, Michael. That's the way I used to do it before Peter Larson and Matt Miller showed me this other way.

    I...

  • RE: Generating random 6 digit numbers

    Here is one more method to generate a random number in the range of 100000 to 999999.

    It uses the right 7 bytes of the newid() to create a bigint value....

  • RE: Primary key generation in Sql server database

    That script does not generate a primary key value.

    All is does is create a primary key on an existing table.

  • RE: RAID 1 vs. RAID 10

    Someone mentioned that you might gain some performance because the OS is accessing two files in parallel, instead of one. However, there is nothing that prevents you from having...

  • RE: Is it possible to call stored procedures inside a function

    Only extended stored procedures can be called inside a function.

  • RE: Backup Compression in sql server 2000

    There are a number of commercial utilities that let you produce compressed SQL Server backups:

    SQL LiteSpeed, Redgate Backup, Idera has one, and there are several others.

    Another option might be to...

  • RE: Are the posted questions getting worse?

    GilaMonster (12/24/2008)


    Michael Earl (12/24/2008)


    At least they were able to open Management Studio and run the query.

    Well there was this one guy (who claimed to be a performance tuning guru and...

  • RE: Are the posted questions getting worse?

    If there is someone doing a DBA interview that doesn’t have the technical understanding to be able to weed out a bogus DBA, then they probably shouldn’t be in their...

  • RE: Managing the Transaction Log size growth during an index rebuild

    Marker (12/23/2008)


    Ok, I do want to create a custom script to switch the db to bulk_logged during index rebuilds. I started creating a script and if I should be...

  • RE: Managing the Transaction Log size growth during an index rebuild

    The minimum amount of transaction log space required will be at least as large as the largest table in the database. This is because re-indexing rebuilds each table in...

Viewing 15 posts - 2,116 through 2,130 (of 3,008 total)