Unix Technical Forum

SQL 7 --> SQL 8, trigger issue

This is a discussion on SQL 7 --> SQL 8, trigger issue within the MS SQL ODBC forums, part of the Microsoft SQL Server category; --> Hi, We have backed up our database that was developed for SQL 7, and uses some triggers and stored ...


Go Back   Unix Technical Forum > Database Server Software > Microsoft SQL Server > MS SQL ODBC

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-27-2008, 08:32 PM
Lisa Pearlson
 
Posts: n/a
Default SQL 7 --> SQL 8, trigger issue

Hi,

We have backed up our database that was developed for SQL 7, and uses some
triggers and stored procedures.
It then was restored on SQL 8.

For some reason, triggers or stored procedures are not called for all users
who log in (Via NT authentication).
Everything works fine for the administrator, but ordinary users lose
functionality.

I don't know what is different in SQL 8, compared to 7, that might cause
this issue.

I'm assuming that it has to do with user rights on triggers and stored
procedures.

Can anyone give me hints as to what difference in MSSQL 8 causes this, and
how to resolve it?

Thanks,
Lisa



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-27-2008, 08:32 PM
Geoff N. Hiten
 
Posts: n/a
Default Re: SQL 7 --> SQL 8, trigger issue

Your problem is likely caused by orphaned users and not by differences in
SQL versions. Look up sp_Change_users_login in BOL. That procedure will
help identify and reconnect users and logins for your new server and old
database.

--
Geoff N. Hiten
Microsoft SQL Server MVP
Senior Database Administrator
Careerbuilder.com




"Lisa Pearlson" <no@spam.plz> wrote in message
news:O%23X4PtMmDHA.2528@TK2MSFTNGP12.phx.gbl...
> Hi,
>
> We have backed up our database that was developed for SQL 7, and uses some
> triggers and stored procedures.
> It then was restored on SQL 8.
>
> For some reason, triggers or stored procedures are not called for all

users
> who log in (Via NT authentication).
> Everything works fine for the administrator, but ordinary users lose
> functionality.
>
> I don't know what is different in SQL 8, compared to 7, that might cause
> this issue.
>
> I'm assuming that it has to do with user rights on triggers and stored
> procedures.
>
> Can anyone give me hints as to what difference in MSSQL 8 causes this, and
> how to resolve it?
>
> Thanks,
> Lisa
>
>
>



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 08:49 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com