Dynamic SQL

Technical Article

Unexpected behaviour - Query and a Table

  • Topic

Hi All,I have a table (say Table1) with around 182,000 records and it has about 64 rows.Difference between below 2 queries is significant and difficult to understand why.SELECT TOP 134 * FROM Table1 ORDER BY Field1, Field2, Field3 - Above completes in about 3 secondsSELECT TOP 135 * FROM Table1 ORDER BY Field1, Field2, Field3 - Above takes […]

You rated this post out of 5. Change rating

2004-07-10

Technical Article

RE: using replication to move data from buffer databases to central database?

  • Reply

Given the fact that you need to delete messages from the client machine you are forced to use a DTS package running at intervals.  The Replication models are just that - Replication of data from one server to another.  Therefore if you delete data at one end the other end will mirror this exactly.Once you […]

You rated this post out of 5. Change rating

2004-06-29

Technical Article

RE: Storage Area Network (SAN)

  • Reply

For God's sake, DO NOT use a NAS with SQL Server.  You are asking for nothing but trouble.  Even Microsoft does not recommend it.  I've used Network Appliance NAS and EMC and CLARIION SAN's as well as Raid Arrays, and I'm telling you NAS is bad news.  It was never designed to service Databases and […]

You rated this post out of 5. Change rating

2004-06-15

Technical Article

SQL Query Help

  • Topic

I have a 1-to-many relationship between my "Game" and "GameInfo" tables.  TABLE: GameGameID, GameName TABLE: GameInfoGameInfoID, GameID, DateTimeOfThisPieceOfInfo, GameInfo Let's assume that there are multiple records in GameInfo for GameID 1.  I want to write a query that only returns the row of GameInfo where the "DateTimeOfThisPieceOfInfo" is the latest date.  For clarity, here's how I would […]

You rated this post out of 5. Change rating

2004-05-10

Blogs

SQL Saturday Boston 2024 Slides

By

Thanks to everyone that came to my talks. Slides are below. Best Practices for...

Small Data SF 2024

By

I can’t remember how I heard about Small Data SF 2024, but it caught...

A New Word: Moledro

By

moledro – n. a feeling of resonant connection with an author or artist you’ll...

Read the latest Blogs

Forums

7 sept, scheduled book

By philip.scott

Comments posted to this topic are about the item 7 sept, scheduled book

7 sept, schedlued article

By philip.scott

Comments posted to this topic are about the item 7 sept, schedlued article

6 sept, published book

By philip.scott

Comments posted to this topic are about the item 6 sept, published book

Visit the forum

Question of the Day

Azure Data Lake Storage Gen 2

Azure Data Lake Storage Gen 2 is built on ...?

See possible answers