Licensing

Technical Article

RE: Rights Accross Databases

  • Reply

I was hoping to avoid refering a view, but in any case wouldn't the view suffer the same problem since it's accessing objects from the other database? ... just tried it and I still get this error: Server: Msg 229, Level 14, State 5, Line 1 SELECT permission denied on object 'Tblxxx', database 'xxx', owner […]

You rated this post out of 5. Change rating

2003-07-02

2 reads

Technical Article

RE: Rights Accross Databases

  • Reply

I tend to create a view in the first database to access the second. Helps if I need to move things by abstracting. Also doesn't tie my code to some database name (other than the view). Same security items brought up above still apply. Steve Jones sjones@sqlservercentral.com http://qa.sqlservercentral.com/columnists/sjones www.dkranch.net

You rated this post out of 5. Change rating

2003-07-02

1 reads

Technical Article

RE: Locking problem

  • Reply

We also have seen differences between SQLServer 7 and 2000. We looked for the differences with the profiler on both servers (And sqlserver 2000 with 70 compatibility) looking using sql statements, stored procedures , RPC's (used by our centura application and I have heard also by ADO) and locks. Save the results to text files […]

You rated this post out of 5. Change rating

2003-07-02

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

Technical Article

RE: New Feature

  • Reply

As long as people learn, I sure don't care. You can live with your score being high artificially Brian Knight bknight@sqlservercentral.com http://qa.sqlservercentral.com/columnists/bknight

2003-06-15

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