Tables in MS SQL server where role names are stored
hi
Please let me know the table in MS SQL server where the authorisations and role names are stored
Hi,
Table agr_define stores the roles.
Some more tables in this regard are as under
AGR_AGRS Roles in Composite Roles
AGR_PROF Profile name for role
AGR_SELECT Assignment of roles to Tcodes
AGR_TCDTXT Assignment of roles to Tcodes
AGR_TCODE3 Assignment of roles to Tcodes
AGR_TCODES Assignment of roles to Tcodes
AGR_USERS Assignment of roles to users
AGR_USERT Assignment of roles to users
etc etc.
To explore more in Tcode SE11 enter AGR* and search.
Table USOBT details reln between tcode and auth object.
Hope this helps
Pl dont forget to award points.
Regards
Similar Messages
-
I am trying to have access tables of the Sql Server through the Oracle
I am trying to have access tables of the Sql Server through the Oracle and this being occurred the error:
ORA-28500: connection from ORACLE to a non-Oracle system returned this message: [Generic Connectivity using ODBC][H006] The init parameter <HS_FDS_CONNECT_INFO> is not set.
Please set it in init <orasid>.ora file.
ORA-02063: preceding 2 lines from HSMSQL
I created the ODBC with name HSMSQL.
I made all the configurations in the archives
tnsnames.ora:
HSMSQL=
(DESCRIPTION=
(ADDRESS= (PROTOCOL = tcp)(HOST = wsus)(PORT = 1521))
(CONNECT_DATA =
(SID = HSMSQL)
(HS = OK)
listener.ora:
(SID_DESC = (SID_NAME=HSMSQL)
(ORACLE_HOME= C:\oracle\ora92)
(PROGRAM =hsodbc)
initHS_SID.ora:
HS_FDS_CONNECT_INFO = HSMSQL
HS_FDS_TRACE_LEVEL = OFF
-- Create database link
create database link HSMSQL.US.ORACLE.COM
connect to TESTE identified by TESTE2
using 'HSMSQL';
But when I execute query the error occurs:
Select * from TabTeste@HSMSQL
ORA-28500: connection from ORACLE to a non-Oracle system returned this message: [Generic Connectivity using ODBC][H006] The init parameter <HS_FDS_CONNECT_INFO> is not set.
Please set it in init <orasid>.ora file.
ORA-02063: preceding 2 lines from HSMSQL
Please they help me, thanks, Paulo.Hi,
It seems that your configuration is Ok. By the way, the workaround for this error is:
ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
[Transparent gateway for ODBC][H001] The environment variable <HS_FDS_CONNECT_INFO> is not set.
* Set HS_FDS_CONNECT_INFO in the hs{sid}init.ora file to the data source name.
Example: HS_FDS_CONNECT_INFO = <ODBC DataSource Name>
* Make sure the hs{sid}init.ora file exists in the ORACLE_HOME/hs/admin directory and has the same name as the SID in the LISTENER.ORA.
Example: If SID=hsodbc in the listener.ora file, then the hs{sid}init.ora file would be named ORACLE_HOME/hs/admin/inithsodbc.ora
For more information see if this [url http://forums.oracle.com/forums/thread.jspa?forumID=61&threadID=576975]thread can help you.
Cheers -
Error creating table on MS SQL Server with OC4J standalone
Hi there,
I'm trying to deploy an EJB application to OC4J standalone using a MS SQL Server 2000 database, MS SQL Server JDBC Drivers and OC4J 9.0.3 standalone but i keep getting this error:
Auto-creating table: create table Functieprofiel_competentieNiveau_CompetentieNiveau_functieprofiel_LBOS_Ear_LBOS_Ejb (Functieprofiel_FUNCTIE_ID bigint identity not null, COMP_ID bigint identity null, NIVEAU_ID sql_variant(255) null)
Error creating table: [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]Could not create IDENTITY attribute on nullable column 'COMP_ID', table 'Functieprofiel_competentieNiveau_CompetentieNiveau_functieprofiel_LBOS_Ear_LBOS_Ejb'.
Deployment succeeds after this but the application does not run properly. Can anyone help me with this? I have no idea what to do.
Rob HeikoopRb -
if you want to stop the auto-creation of tables, try going to the j2ee/home/config directory of your OC4J installation. Open the application.xml file and modify the attribute autocreate-tables to be set to false.
That should stop the default table creation as a global property, unless you specifically override it at the specific deployed application level.
You can then manually create the tables on the sql-server database instance. If you keep the column names the same as the field names in the bean, then you shouldn't need to do any manual mapping. To be sure of the column names to use, take a look in the orion-ejb-jar.xml which gets generated in the j2ee/home/application-deployments/<app-name>/<ejb-module-name> to see what table/column names the generator defaulted to
-steve-
-steve- -
Syntax error when creating a user-defined table type in SQL Server 2012
Why am I getting a syntax error when creating a user-defined table type in SQL Server 2014?
CREATE TYPE ReportsTableType AS TABLE
( reportId INT
, questionId INT
, questionOrder INT );
Results:
Msg 156, Level 15, State 1, Line 1
Incorrect syntax near the keyword 'AS'.Hope these posts could help,
https://social.msdn.microsoft.com/Forums/sqlserver/en-US/37a45a9a-ed8c-4655-be93-f6e6d5ef44be/getting-incorrect-syntax-while-creating-a-table-type-in-sql-server-2008-r2?forum=transactsql
Regards, Dineshkumar,
Please Mark as Answer if my post answers your question and
Vote as Helpful if it helps you -
DESKI Report using Temp tables in MS- SQL server 2005
Hi,
I am trying to create a Free hand SQL DESKI report using temp tables in MS SQL Server-2005, I am using ODBC connection.
When I run the report, I am getting the error
u201CConnection or SQL sentence error (DA0005) No column or data to fetchu201D
Ex:
Select *
into #t1
from region
select * from #t1
drop table #t1
Please help.
Regards,
PratikPratik, the SQL does not seem right. BTW you can only retreive data via Deski Free hand SQL. Also try to use OLE DB connection.
-
Copy table from Ms SQL Server 2005 to Oracle with SSIS package
Hi all
I am witting an SSIS package to copy 2 tables from Ms SQL Server 2005 to an Oracle 10g database.
Problem: I can only see the Microsoft OLDB Provider for Oracle and it is too slow. How can I use the Oracle ODBC in aMs SQL Server 2005 or building a .net SSIS package.
thanksYes I am able to see the driver on the Data Source (ODBC), I also created a connection to the Oracle database. The problem in Ms SQL Server 2005 is that the ODBC connection I created is not listed. None of the lo local connections are listed, only Microsoft OLEDB connections
-
Migrate tables from Ms SQL Server 20005 to Oracle 10g
Hi all,
I am trying to migrate 10 table from Ms SQL Server 2005 to Oracle 10g. I started creating a SSIS package to transfer them but it always fail when it tries to create the tables.
Questions:
- Is there any other way to import Ms SQL Server 2005 tables to Oracle
- also I need to create a scirp that will update these tables periodically
any ideas?
ThanksYingKuan is right. jsut to expound a little further. This will also allow you to have have scripts which you can run again and again or even schedule them regularly too.
B -
Is it possible to have access a table of DB SQL Server for the DB Oracle?
Is it possible to have access a table of DB SQL Server for the DB Oracle? How?
Thank you, Paulo.You can configure Heterogeneous Distributed Database Systems
-
Table name where all the SAP Script names are stored
Hi Gurus,
Can i know the table name where all the SAP Script names are stored in SAP Database.
Thanks in advance,
Shyam.Yes TNAPR is the table which contains sapscipts name and print program names.
Step:1: Goto to the Table TNAPR using SE11
Step:2: Get the Contents of the Table(CNTRLSHIFTF10)
Step:3: On the Table Content Selection Screen, Type the driver program name in the field PGNAM and execute(F8).
Step:4: FONAM field of the result display contains the SAPScript Name for our driver program.
Regards,
Lalit Mohan Gupta. -
I am getting following error in each module of SAP B1 9.0 and hence unable to use SAP b'coz I can't add or change any document b'coz of this error.
Error : [Microsoft][SQL Server Native Client 10.0][SQL Server]Invalid object name 'UNKNOW ERROR'. (CINF)
please help me to resolve this issue.I am getting following error in each module of SAP B1 9.0 and hence unable to use SAP b'coz I can't add or change any document b'coz of this error.
Error : [Microsoft][SQL Server Native Client 10.0][SQL Server]Invalid object name 'UNKNOW ERROR'. (CINF)
please help me to resolve this issue. -
Tables in which Read mode and Cache settings are stored for Bex
Hi BI Experts,
We have a requirement for which we need to know the tables in which the read and cache modes are stored(locally and globally) when we change them in the query properties(In T code RSRT) of a query
Thanks in advance
Regards,
M
Edited by: madhu marupudi on Feb 5, 2009 5:30 PMHi,
Check in the following tables, these are related to Reports tables.
RSZELTDIR Directory of the reporting component elements
RSZELTTXT Texts of reporting component elements
RSZELTXREF Directory of query element references
RSRREPDIR Directory of all reports (Query GENUNIID)
RSZCOMPDIR Directory of reporting components
RSZRANGE Selection specification for an element
RSZSELECT Selection properties of an element
RSZELTDIR Directory of the reporting component elements
RSZCOMPIC Assignment reuseable component <-> InfoCube
RSZELTPRIO Priorities with element collisions
RSZELTPROP Element properties (settings)
RSZELTATTR Attribute selection per dimension element
RSZCALC Definition of a formula element
RSZCEL Query Designer: Directory of Cells
RSZGLOBV Global Variables in Reporting
Thanks
Reddy -
Need help to find out where my forms are stored locally on my PC
Is there an easy way to find out where my forms are stored?
Hi;
What is it you would like to do? I am guessing you are referring to forms in the FormsCentral desktop application and not the web site. The forms in the Desktop application are not stored in a way you can access or use them other than through the application. You can export and save locally any form as a "FormsCentral Design Template" which can be shared with anyone and re-imported into FormsCentral.
If you can give me more details about what you would like to do I can help further.
Thanks,
Josh -
am trying to recover a backed up version of my iphone. Does anyone know where the backups are stored? thanks
Backing up, updating, and restoring iPad, iPod touch, and iPhone software
more detailed information about backing up -
Sql server agent roles and job's owner issue
Hi,
We have a tricky question about agent role and job owner. If I granted sqlagentoperatorrole to a windows account in a sql instance, the account will have permission to create a sql job, the job's owner is the account and he can edit the job. But we want
to keep all agent jobs' owner as SA. But after I (have sysadmin role) changed the job's owner to SA, the windows account won't be able to edit the job any more. but I don't want to give sysadmin role to the account, Does anybody have solution for my issue?
so recap my question,
1. all jobs owners should be SA
2. Allow some accounts without sysadmin permission can edit these jobs
3. Which kid of permission shall I grant to these accounts?
Thanks
DavidIts not secessary to have SA for all the jobs, normally we avoid using SA...
Depends if you want to have some sort of security measures in place. If not, doesn't matter much. As for the 'sa' topic, I change the name of that account or disable immediately after install. It practically eliminates that vector of attack.
If you SQLAgentOperatorRole permissions then you can do the below... this is just a agent role so this comes under MSDB....
http://msdn.microsoft.com/en-us/library/ms188283.aspx
Also if you have sql SA access with doamin account or sql account then you can play with sql server completely without any issues, no harm in this...
Agenet principals are scoped to msdb; make sure you are running the statement from msdb DB. For example:
use [msdb]
go
-- The code where @userName is declared & set
EXEC sp_addrolemember 'SQLAgentOperatorRole', @userName
go
If you still have problems let us know, and please include the error number and message in order to help us understand the nature of the fauilure.
Best practice...
http://technet.microsoft.com/en-us/library/cc966485.aspx
Raju Rasagounder Sr MSSQL DBA -
Tables missing in SQL Server 2008 for Hyperion Application
Hello Experts,
I am cuurently working on Hyperion Finacial close management (Account Reconciliation Manager) application version 11.1.2.3, O.S is Windows 2008 R2 and relational database is SQL Server 2008.
When I am trying to copy Account Profiles to a period say go to Manage->Periods->Right Click->Copy to Periods, I get the error:
Object arm_access is missing.
When I open SQL server studio, I can clearly see table 'ARM_ACCESS' but when I did a search on oracle support and google, I found out that it is a case sensitive issue and the table has to be in small letters.
So I created a new table 'arm_access' with all columns as there are in 'ARM_ACCESS' in SQL Server 2008, but it is not fetching any data.
Can anyone provide me the query that I can run to display the same structure and data for 'arm_access'?
If anyone is using the instance, he/she should be able to provide me the query that I can run in SQL server 2008 to populate the 'arm_access' table.
Appreciate your help as this is stopping my development work.
Thanks in advance.
Regards,
SumitHi Sumit,
Its just a wild guess am not sure with this.
i dont have idea about query in sql server. but it oracle it would be something like create table targettablename as select * from sourcetablename.
Ideally it will not allow to create you a table with that name if its already exists i mean its case insensitive (. Even if you have created manually make sure the db user you created with has select privilage granted for all users or the user you configured in Financial close management) or the DB might not be having select privilage .
Note:Have backups in place when you are manually to manipulate or changing the database user.
Thanks
Amith
Maybe you are looking for
-
Hi My browser crashes every time try to open a new email in gmail This is happening both with Safari and Firefox. When i switch to the basic mode - html only i am able to access my mail. I have a similar problem with both of them when i try and acces
-
"Impossible to complete operation" with PC Suite 6...
Preface: With all version of Pc Suite before the 6.86.9.3 all works fine. Issue: With the 6.86.9.3 version of Pc Suite when I try to launch the application to manage the contacts, I always have following error: "Impossible to complete operation". Oth
-
I'm running Windows 7 on a laptop. I have downloaded Adobe Air version 13.0.0.83 successfully. When I click on the Setup.exe file the program will start the install process, but it will immediately shutdown with an error message. I have tried this
-
Hi, I need some help on naming conventions in IR. 1. we have 4 countries 2. each country has around 100 customers. 3. exchanging 850, 810, 856..... messages with each customers Namespace per each customer or each message or each country, In this case
-
Hi All, I have changed The Delivery Class for one of My custom Table from C to A . Table Maintnance Gen is also availabole for this .. Please inform , if i need to regenerate the TMG if yes what reason should i use for the regeneration . Praveen.