Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Monday, November 25, 2024 
 
slxdeveloper.com Community Forums  
   
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
 Administration Forums - Upgrades
Forum to discuss upgrading SalesLogix from version to version. View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to Upgrades | New ThreadView:  Search:  
 Author  Thread: Oracle 6.2.6 to 7.2.2, CreateOracleViews.SQL question
Scott Smallbeck
Posts: 62
 
Oracle 6.2.6 to 7.2.2, CreateOracleViews.SQL questionYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 08 Sep 08 12:45 PM
In the CreateoraclesViews.SQL it create a new view SLX_TABLE_VIEW using SYS instead of SYSDBA. Is there any reason the view is not created using SYSDBA (As the one right below in the snippet) and could their Oracle DBA create the view under SYSDBA instead? Does anyone know why this view is created using SYS?

/**********************************************************************************/
/* NEW IN SALESLOGIX v7.0 */
/**********************************************************************************/
create or replace view SYS.SLX_TABLE_VIEW as
select
U.NAME TABLE_SCHEMA,
O.NAME TABLE_NAME,
decode(O.TYPE#, 2, 'TABLE', 4, 'VIEW') TABLE_TYPE
from
SYS.OBJ$ o, SYS.USER$ u
where
(O.OWNER# = U.USER# and O.TYPE# in (2,4)) with read only;

-- grant permission for sysdba user
GRANT SELECT ON SLX_TABLE_VIEW TO "SYSDBA";

/***************************************************************************************/
/* NEW IN SALESLOGIX v6.1 */
/***************************************************************************************/
create or replace view sysdba.SLX_PLUGINNOBLOB as
select PLUGINID, NAME, FAMILY, TYPE, USERID, CREATEDATE, MODIFYDATE, LOCKED, LOCKEDID, VERSION, SYSTEM, ISPUBLIC, DESCRIPTION, DATACODE, BASEDON, TEMPLATE, AUTHOR, COMPANY, COMPANYVERSION, BASEDONCOMPANY, BASEDONCOMPANYVERSION, RELEASED, DEV, READONLY, INSTALLATIONDATE, RELEASEDDATE
from SYSDBA.PLUGIN;

create or replace view sysdba.SLX_RELEASEDPLUGINS as
select PLUGIN.USERID, SECCODE.SECCODEDESC, PLUGIN.BASEDON
from SYSDBA.PLUGIN, SYSDBA.SECCODE
where PLUGIN.USERID = SECCODE.SECCODEID;
[Reply][Quote]
 Page 1 of 1 
  You can subscribe to receive a daily forum digest in your user profile. View the site code of conduct for posting guidelines.

   Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
 

 
 slxdeveloper.com is brought to you courtesy of Ryan Farley & Customer FX Corporation.
 This site, and all contents herein, are Copyright © 2024 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.

code of conduct | Subscribe to the slxdeveloper.com Latest Article RSS feed
   
 
page cache (param): 11/25/2024 9:41:54 PM