Forum Replies Created

Viewing 15 posts - 5,971 through 5,985 (of 6,022 total)

  • RE: Subroutines in TSQL

    I think that T-SQL could use something similar to HTML's #include server side include directive for inserting repetitively used blocks of code like error handling, auditing, or variable declarations.

  • RE: I am not a Schema

    shannonjk (5/12/2010)


    ...

    I was just curious if there was any sort of intuitive file/filegroup structure one should follow if designing a complex database schema system.

    This MSDN article describes some of the...

  • RE: I am not a Schema

    shannonjk (5/12/2010)


    How would you handle best practices as far as database file structure if you merged databases to one and used multiple Schemas? For instance if I put 2 databases...

  • RE: INDEX ON TABLES

    GilaMonster (5/12/2010)


    Do not, please, ever do that and run the run the generated script as-is. Or, if you do, let me know so that I can send you a proposal...

  • RE: INDEX ON TABLES

    satya.sakamuri (5/12/2010)

    ...

    if i run the above script inmy sql query with selecting perticular database ....will the data in tables effect?becaz those are production live tables in that database.

    could you plese...

  • RE: INDEX ON TABLES

    Grant Fritchey (5/11/2010)


    Whether the DBA knows it or not, that data can get changed by circumstances. It's best that you know that fact in order to gauge best whether or...

  • RE: INDEX ON TABLES

    GilaMonster (5/11/2010)


    ...

    As for the index usage, it's flushed when the DB is closed. Shutdown, restore, detach, offline. There's no way I know of to manually flush it. Eric, you said...

  • RE: INDEX ON TABLES

    The sys.dm_db_index_usage_stats view exposes statistics about the usage of indexes. I don't know for certain, but I suspect this is part of what the DTA uses behind the scenes to...

  • RE: problem importing data from a huge xml file 1g

    You never stated what the error message is or what about the large file doesn't work.

    I'm just thinking that when dealing with 1 GB sizes XML files, if you...

  • RE: update statement multiple fields

    field1 will be set to whatever (field1 + field2 + field3 - field4) equals when the UPDATE statement initially starts.

  • RE: Comparing two rows in one table for changes in column

    Dobermann (5/11/2010)


    Stumped. I need to find out when the value in Col3 (Dose) changes from the previous date (col5):

    ...

    ...

    ... I only want to see rows 1, 2 & 3...

  • RE: Non-aggregate column included in aggregate query

    Dobermann (5/11/2010)


    I just don't get it. This is what I am trying to do, yet it will not let me add the Gender column because it is not included...

  • RE: I am not a Schema

    eric_russell 13013 (5/10/2010)


    I believe that referential integrity constraints are important in a database. If you have data models for two or three tightly integrated applications with overlapping foreign keys and...

  • RE: Quick way to form relationship from several hundred tables to one

    Let's assume that there are several (or a hundred) tables which partition client data, and they are all prefixed with the name 'client_data_%', and you need to create on each...

  • RE: Quick way to form relationship from several hundred tables to one

    A long time ago, I was asked to write some custom reporting SQL queries against a 3rd party database containing 100+ tables. It had one unique key on most tables,...

Viewing 15 posts - 5,971 through 5,985 (of 6,022 total)