Forum Replies Created

Viewing 15 posts - 19,831 through 19,845 (of 22,202 total)

  • RE: SQL Server 2005 - relationships

    You don't need to create a diagram, but you can if you want to visualize what was created on the database. If you want to use the GUI to check...

  • RE: Indexing on Foreign Keys is advisable or not?

    I thought it was fairly expected and common to put indexes on foreign keys (depending on needs of the queries used, etc., of course). I've never seen any documentation from...

  • RE: SQL Query Vs Stored Procedures

    There's really not a difference between a query and a procedure. A procedure is just a query stored in the database. Queries can be parameterized just like queries. In fact,...

  • RE: How to Increase the buffer pool

    Are the servers the same? Do they have the same amount of memory and the same size and number of processors? Like Gail already said, what do the execution plans...

  • RE: Whats are the Advantages of Filegroups in Sql Server 2005

    Good point on schemas. Although there, again, is a bunch of behavior that simply using it to group tables by function without also taking advantage of the security & execution...

  • RE: Stored Procedures Reconsidered

    One thing to consider as well is that sprocs are vendor specific and require rewrites if you move from your current database platform, while there may be less changes if...

  • RE: Stored Procedures Reconsidered

    Nice troll bait... I'm a little hungry...

    Anyone advocating stance within the development and technicals sphere that says ALWAYS or NEVER is usually wrong. So, saying "ALWAYS use stored procedures" is...

  • RE: Whats are the Advantages of Filegroups in Sql Server 2005

    Storing data into different operational areas doesn't add any actual benefits unless those different operational areas also have different loads, different stresses, needs to be backed up at different times......

  • RE: Can the foreign key and primary key be the same?

    Yes, you absolutely can. It's a pretty common design method. The one place almost everyone will agree that something like this applies is in a many-to-many relationship. There are other...

  • RE: Same Query Different Reads

    What I meant was, automated processes, such as a checkpoint, can pop up in the middle of a query and affect the overall performance (not by much, I'll grant you)...

  • RE: Avoiding resusing existing query plans or data

    It really depends on the system you're working on. Most of the systems I have experience with have a pretty common set of data in cache the majority of the...

  • RE: Same Query Different Reads

    Key word and tricky phrase in the question is "similar"

    Variations in memory, cpu, disk I/O, cache, cache size, statistics, index fragmentation, yada, yada, yada, will result in differences in execution...

  • RE: Avoiding resusing existing query plans or data

    For testing, and for testing only, don't do this in Production, I'll run DBCC FREEPROCCACHE to clean out all the procedures and force recompiles. Then try running CHECKPOINT followed by...

  • RE: duplicate key

    You can only have one NULL value in those columns with the constraint.

  • RE: Indexing on Foreign Keys is advisable or not?

    Just to add a tiny wrinkle to what everyone else said... I've frequently found situations where the foreign key was the best candidate for the clustered index. It was the...

Viewing 15 posts - 19,831 through 19,845 (of 22,202 total)