Embarcadero

Technical Article

RE: Handling "optional fields"

  • Reply

quote: When one customer is modifying their extended table, would we see locking issues on the primary table for customers other than the one modifying the extended table? No, SQL Server implements row-level lock. Looking at your keys, I don't believe this would be an issue. quote: Also, this would mean that all my select […]

You rated this post out of 5. Change rating

2003-06-17

Technical Article

RE: Handling "optional fields"

  • Reply

Personally, I think 2 is actually your best option. The cons that you outlined I don't see as drawbacks, actually. You can easily add powerful join indexing simply by adding a mandatory index on each extended table on its foreign key: --Main Table Sample: CREATE TABLE MainTable ( accountID INT NOT NULL , recordID INT […]

You rated this post out of 5. Change rating

2003-06-16

Technical Article

RE: HELP!!

  • Reply

Hi, You could use the REPLACE function to replace the carriage returns with a blank space... SELECT REPLACE(REPLACE(FieldName,Char(13),''),Char(10),'') from TableName The Char(10) and Char(13) should take care of the new line and carriage return values in the field... If the field in question is of "text" type then you will have to use the UPDATETEXT […]

You rated this post out of 5. Change rating

2003-06-16

Blogs

Simple Talks Episode 7

By

The season 1, seventh episode of Simple Talks is out. Check it out, with...

A New Word: the McFly effect

By

the McFly Effect – n. the phenomenon of observing your parents interact with people...

Key mappings in Visual Studio Code

By

At a recent conference I was asked how I executed code during my presentation....

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