insert

Technical Article

RE: trigger on view

  • Reply

Using a stored procedure doesn't stop people from having access to the table as well though. Although, in SQL2005 you can tell the stored procedure to execute to impersonate an appropriately privileged user, so that you can stop people from accessing the table without going through the stored proc. But I would actually use a […]

2005-04-26

Technical Article

Trigger Best Practices - Long

  • Topic

I read previously that placing multiple triggers on a table is not a "best practice" since the order in which triggers fire cannot be controlled. Therefore, there is always the potential for conflicting triggers and more maintenance overhead. (Not to mention 1 trigger firing multiple triggers on another table - nesting triggers). My personal practice […]

2005-04-25

Technical Article

RE: Making a copy of a sql table within same DB

  • Reply

I don't think Select Into configures indexes and keys.You may want to script the table first with all keys and indexes but WITHOUT Drop Table option so you would not accedentally delete your original table, in the script replace a table name with a new name, run the script to create a new table. The […]

You rated this post out of 5. Change rating

2005-04-11

Technical Article

Create Synonyms

  • Topic

How can I create synonyms for tables in a database and give a user read only access to those tables.  I don't want to use the schema name before querying the table as that read only user. ThanksAnu

You rated this post out of 5. Change rating

2005-04-11

Technical Article

RE: Understanding 2nd Normal Form

  • Reply

hi, As I mentioned earlier I think of the surrogate key as a proxy for the real key, hence my loss of the true name "surrogate". More to your question "So, is it fair to say that Normalization rules do not apply to surrogate keys?" this is one of the old debates in database modeling. […]

2005-03-08

Technical Article

Are clustered index columns actually usable in non-clustered indexes?

  • Topic

I have read that non-clustered indexes are built using the clustered index keys. Does that mean that explicitly including columns present in a clustered index in the definition of a non-clustered index is redundant? Suppose I have a clustered index on TransactionDate, and want to query by (WorkOrder, TransactionDate) Should I declare the non-clustered index […]

You rated this post out of 5. Change rating

2005-01-20

3 reads

Technical Article

RE: Using Char(13) to insert a return in a note field.

  • Reply

This is a shot in the dark.. but have you tried this : CHAR(13) + 'Comment 1' + ': ' + rtrim(so.comments_1) + CHAR(13) + 'Comment 2' + ': ' + rtrim(so.comments_2) + CHAR(13) + 'Comment 3' + ': ' + rtrim(so.comments_3) + CHAR(13) + 'Comment 4' +': ' + rtrim(so.comments_4) AS Record_Notes if that […]

You rated this post out of 5. Change rating

2005-01-12

Blogs

MVP No more, But It’s OK

By

Embracing Limitations: Finding Strength and Purpose in Hard Times For four years, I was...

A New Word: Fitching

By

fitching – v. intr. compulsively turning away from works of art you find frustratingly,...

Copilot in Microsoft Fabric

By

Microsoft Copilot is an app that uses AI to help you find information, create content,...

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