Steve Kahn wrote:
> ....The database looks fine. I set up the
> site to have identical 'sql, username, and passwords' and yet I will get an
> error saying a column name doesn’t exist in the database when in fact I can
> see it in enterprise manager. ...
>   

That looks like an database ownership issue. Try making your query of 
the form where the From aspect is a fully qualified [dbo].mytable, eg 
"select thiscolumn from [dbo].myTable", rather than the more usual 
"select thiscolumn from myTable". If that works then the restored 
database's owner is not your user. OTTOMH I cannot remember the 
knowledgebase article but look up sp_changedbowner in SQL books online 
and you will be in roughly the right place.

HTH,

Kym K



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233520
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to