Forum Replies Created

Viewing 15 posts - 286 through 300 (of 359 total)

  • RE: to improve performance?

    Hmmm - I was taught to use varchar when I assumed a variation in the size of the data.

    Whenever possible define the column as char. It's not that big...

  • RE: cast varchar as datetime

    It can be done. I trimmed off the 'FRI' part and it converted. I used a substring.

    Patrick

  • RE: to improve performance?

    Follow the execution plan for your queries and check to see if they are using indexes or table scans. This can also give you a clear idea if you have...

  • RE: Network libraries TCP/IP Named Pipes

    We installed a new instance of SQL2K. No one could connect to it. I checked and the client utilities all listed TCP/IP over named pipes. I changed the order so...

  • RE: Other databases

    I've worked with Access, MySQL (for those cash-strapped web companies) and just a little of Postgres. I was impressed with Postgres.

    Patrick

  • RE: How to find the Value is returned Null.

    You should always use column IS NULL rather than column = NULL. Nulls do not equal each other (or itself).

    Patrick

  • RE: SQL/OLAP Guru Needed Not an agency

    Where in Houston? East, West, Downtown?

    Thanks,

    Patrick

  • RE: Cursors - Are they always the wrong way

    Cursors are fine. They are a tool, that's all.

    It's as if you are claiming you never use the tack hammer. That's fine. There are times that a tack hammer...

  • RE: Delete all records from a DB

    No magic deletes.

    I have used the sp_msforeachtable and that works. But I also have created a cursor to do the deletes when the column names are not the same....

  • RE: Auto Close and Auto Shrink - Just Don't

    On the databases I have AutoClose off. It's one of those really bright ideas that no one wants.

    Autoshrink is off because I found it twice trying to shrink itself...

  • RE: Number of columns allowed in sqlserver 2000

    Check out the section "Maximum Capacity Specifications" in BOL. That has limitations and capacities for all version of SQL Server 2000.

    Patrick

  • RE: Outdated Statistics

    SQL Server uses a sampling of the data to determine if the stats are outdated.

    Index hints should be avoided, but there are times when they are very useful. I...

  • RE: Corrupt Indexes

    Laughing. As a DBA I'm shy about auto-anything. On your job that repopulates the table add a task to reindex or sp_updatestats.

    Yes, autoupdate works on a sampling of the table....

  • RE: Getting Certified

    Brian,

    Good article.

    Yes. When I decide to go for a test, I schedule it. Nothing like having the cash already spent to give me incentive.

    Tests for similar subjects I...

  • RE: Bulk Delete without logging

    Truncate Table deallocates the table's data pages and index pages. The deletion of rows can not be logged, because they are not really deleted. The page deallocations are logged.

    Patrick

Viewing 15 posts - 286 through 300 (of 359 total)