Drop Table

Support Forum for database administrators and web based access to important newsgroups related to databases
Register on Database Support Forum Edit your profileCalendarFind other Database Support forum membersFrequently Asked QuestionsSearch this forum -> 
For Database admins: Free Database-related Magazines Now Free shipping to Texas


Post New Thread










Thread
Author

Re: Ident_insert behaiviour change in SSDS 2005 - MS, read please!
Looks like it is more than just that function... Similar problem is with
object_id()...  The plot thickens...  Did I miss a BIG announcement?

Koni Kogan  wrote:
> It looks like to get a correct value returned from  IDENT_Current(‘Table

> name’ a user must have at least 'select' or 'insert' permission on the
> underlying table as opposed to just having an 'execute' permission for a
> stored procedure that uses the function in Sql2K.  Is this simply a bug?
> I hope it is!

Report this thread to moderator Post Follow-up to this message
Old Post
Koni Kogan
01-26-06 09:53 PM


Re: Ident_insert behaiviour change in SSDS 2005 - MS, read please!
Yes I did!  Or may be it was not announced at all!  But here is the
solution:  change all you stored procs and triggers that use functions
that access any metadata in SSDS 2005 (object_id() and so on...).  Or
your users that do not have permissions to see that metadata will get
NULLS returned instead of data.  Read the following that explaines how
to get around the problem:
http://msdn2.microsoft.com/en-us/library/ms188354.aspx
I'd like to thank all MS experts in this group for timely help with
this... Hmm... Well may be this is a surprise for them too...
Koni Kogan wrote:

> Looks like it is more than just that function... Similar problem is with
> object_id()...  The plot thickens...  Did I miss a BIG announcement?
>
> Koni Kogan wrote:
> 

Report this thread to moderator Post Follow-up to this message
Old Post
Koni Kogan
02-01-06 01:23 AM


Sponsored Links





Last Thread Next Thread
Post New Thread

MS SQL Server archive

Show a Printable Version Email This Page to Someone! Receive updates to this thread
Microsoft SQL Server
Access database support
PostgreSQL Replication
SQL Server ODBC
FoxPro Support
PostgreSQL pgAdmin
SQL Server Clustering
MySQL ODBC
Web Applications with dBASE
SQL Server CE
MySQL++
Sybase Database Support
MS SQL Full Text Search
PostgreSQL Administration
SQL Anywhere support
DB2 UDB Database
Paradox Database Support
Filemaker Database
Berkley DB
SQL 2000/2000i database
ASE Database
Forum Jump:
All times are GMT. The time now is 04:00 AM.

 
Mobile devices forum | Database support forum archive




Copyrights DropTable.com Database Support Forum 2004 - 2006