Forum Replies Created

Viewing 15 posts - 7,156 through 7,170 (of 18,923 total)

  • RE: dynamic sql

    Grant Fritchey (2/8/2011)


    ericwenger1 (2/8/2011)


    I'm a dba at a shop that uses alot of embedded dynamic sql and I concerned about whether the dynamic sql will use a cached query plan....

  • RE: How To Get Table Row Counts Quickly And Painlessly

    CirquedeSQLeil (2/8/2011)


    homebrew01 (2/2/2011)


    No one has mentioned this method:

    select * from tableA

    then scroll down to the bottom to see how many rows there are

    :Whistling::w00t::hehe::-D

    Evil :-D:w00t::hehe:

    I'd just do SELECT * FROM dbo.TblA...

  • RE: Shared SQL Server

    Well now just to add to that list, you need to make sure the sql 7,8,9 dbs will work on 2008 R2 (assuming you buy the latest version of sql...

  • RE: Suggestion on Foreign Key Constraint

    What I meant is that I can't simply copy and paste the script you provided. It would fail because the 2nd create table happens after you try to build...

  • RE: VS 2008

    sqlgreenhand (2/5/2011)


    I have installed to add SSRS under my new setup Visual Studio 2008 Pro, but do not see the BI templates for SSIS, SSRS, SSAS. Could someone tell me...

  • RE: Shared SQL Server

    Steve Jones - SSC Editor (2/8/2011)


    Do you mean the alias?

    I tend to use FQDNs rather than client side aliases. So if I had cognos, Sharepoint, and ERP applications, I'd setup.

    -...

  • RE: Suggestion on Foreign Key Constraint

    Nothing wrong with that. I guess you simply forgot the index on Countryid in the usersinfo table.

    Also, the script in that sequense qill not work, so maybe we are...

  • RE: How to delete backups after the job rans

    Krasavita (2/8/2011)


    I can't specify there where my backups

    What do you mean???

    Yes you can provide a root folder. And then you have a option for recursive delete for all the...

  • RE: Suggestion on Foreign Key Constraint

    zubairmasoodi (2/8/2011)


    Thanks,

    but Logically speaking , Dont you think its wrong that it will not allow me to delete a record in UserInfo Table

    Country Table is Master Table, I am not...

  • RE: Suggestion on Foreign Key Constraint

    It only has to be a key in the countries table, not the other way around.

  • RE: Suggestion on Foreign Key Constraint

    And just to point out something else. You will be able to delete, but not TRUNCATE. The fk removes the ability to truncate, but that's all.

  • RE: Suggestion on Foreign Key Constraint

    zubairmasoodi (2/8/2011)


    Thanks for your quick reply

    I quote you

    "2 Improves db speed" and this is my primary motivation., but i wonder architecturally if its a good practice.

    Limitation here i see...

  • RE: Shared SQL Server

    Steve Jones - SSC Editor (2/8/2011)


    Patching is a big concern, especially if you use things like SSIS differently between them.

    The load, as mentioned, is something I'd be careful of, and...

  • RE: Where do you look for DBA's?

    Craig Farrell (2/8/2011)


    Ninja's_RGR'us (2/8/2011)


    That explains your avatar SO WELL.

    :laugh: The fact that it's usually silly or the fact that it doesn't ever seem to be the same one 3...

  • RE: Suggestion on Foreign Key Constraint

    I've seen it work both ways.

    Both have advantages that are no negligible. 1 garantees the data is good. 2 Improves db speed.

    What would you do ?

Viewing 15 posts - 7,156 through 7,170 (of 18,923 total)