Forum Replies Created

Viewing 15 posts - 46 through 60 (of 152 total)

  • RE: how to desgin useful partition table

    Depending on the specifics of the implementation, you may find that the easiest way to improve performance is to get off RAID5.

    Partitioning would allow you to split your table across...

  • RE: Extract XML From SQL

    T-SQL is pretty slow at parsing / shredding XML, so you will probably find that it is better to use an exe for that. You could even make it part...

  • RE: Calendar Tables

    You may want to consider using a DATENAME() instead of the cumbersome CASE statement. That would also allow some language variation dependant on the default language.

  • RE: Table Archiving Questions

    I don't believe you can just issue a "move" command to relocate the table.

    However you can create a table in the new database and do a direct copy.

  • RE: SQL Azure - Backup

    From one of the videos on Azure I've been watching there does seem to be a way to re-create a database in Azure at a point in time. I can't...

  • RE: BYOD

    While I think about it, if I choose the environment in which I develop, I don't think the company can necessarily force me to use their dev tools or languages....

  • RE: BYOD

    In theory, I suppose devices are fine, but licenses can be a problem. Visual Studio? MSDN? SQL Toolbelt? 😉

    What about software developed using these resources? The usual stipulation is that...

  • RE: Pros and cons of six SQL table tools

    The fact that it places a schema lock on the tempdb for the duration of the query is my issue. If the query is fast enough, this may not be...

  • RE: Pros and cons of six SQL table tools

    I was surprised and disappointed to see that the inability to use SELECT... INTO was a disadvantage.

    Anything which takes that option away from developers is a good thing IMHO!

    I have...

  • RE: Transaction count after EXECUTE indicates a mismatching number of BEGIN and COMMIT statements. Previous count = 0, current count = 1.

    The problem is the RETURN immediately after the RAISERROR.

    The 1st answer from @sturner of increasing the severity should work as this will force execution of the CATCH.

    As an...

  • RE: Flexible filters - can XML be used to avoid lots of "or xxxx IS NULL"?

    I found Erland Sommarskogs series of articles on dynamic SQL to be both informantive and helpful on this topic.

    http://www.sommarskog.se/

    He has some great worked examples alongside the pro's and con's of...

  • RE: join two table and then group by

    Because I enjoy a challenge, here's some suggested code that may help! This will return 1 line for each Comments record with the sum of the hits counter between dates.

    CREATE...

  • RE: Explanation in CTE

    I suspect that one of your records in the User_Master table has the created_by set to the same value as the user_id.

    This sample works fine for me, but uncommenting the...

  • RE: We Need a DBA Boot Camp

    1. Kinda - Cadets for 2 years and they did cover most of the basic training.

    2. Absolutely. But it shouldn't cover any particular flavour of database, including SQL.

    I know that's...

  • RE: Indexes, Indexes, Indexes

    scottm30 (7/5/2011)


    The moment they are dropped, users will believe the system is running slower. Furthermore any application problems will be initially blamed on the missing indexes.

    So don't tell...

Viewing 15 posts - 46 through 60 (of 152 total)