Need a function name for Sql and Oracle
Retrieving value of next line by doing opteration in previous row.
Can you rephrase the question? Or better yet, provide an example? I'm not sure I understand what you are asking.
My best guess is that you are looking for the analytic functions LEAD or LAG in Oracle, assuming you are on a relatively recent Oracle version. If by "SQL and Oracle" in your subject you mean "SQL Server and Oracle" (SQL is a language that all relational databases implement, SQL Server is Microsoft's relational database), I have no idea how (or if) you can do something similar with a built-in function in SQL Server. You would want to post in a SQL Server group to see how they handle that sort of thing.
Justin
Similar Messages
-
Tablespace size report for SQL and oracle servers
Hi All
is it possible to get tablespace size for all sql and oracle server in the form of report in SCOM.
Regards
MadhaviOracle: Table size report of Oracle is depend on the MP which yu imported into SCOM
SQL :
1) Create a group which contains folowing dynamic rule
2) Reporting workspace --> Microsoft Gneric Report --> Performace Detail
3) in the parameter area, create a new series, add group which create in step 1) and select the rule: MSSQL XXX: Collect Database Allocated Size(MB)
4) Run the report
5) In the report, click actions and select "Performance details for every object"
Roger -
Function Modules for Data and Time
Hi all,
I need 2 function modules for date and time. when we pass current data(sy-datum) and current time (sy-uzeit) into function modules, shoud get date in <b>dd/mm/yyyy or dd.mm.yyyy</b> and time in<b> HH:MM:SS</b> formats.
Thanks in advanceHi Ranjith,
i think this will b usefull for you..
SAP Bar Chart Function Modules and what they are used for
Function module
Used for
BARC_GRAPHIC_PBO
Starting bar chart at PBO time, using a graphic profile (parameter PROFILE)
BARC_GRAPHIC_PAI
Analyzing data returned by the graphic
BARC_SET_TIME_AXIS
Setting start and end of time axis
BARC_SET_OPTIONS
Setting options
BARC_ADD_CHART
Creating a chart
BARC_SET_CHART_ATTRIB
Setting chart attributes
BARC_ADD_SECTION
Creating a section on the time axis
BARC_SET_SECTION_ATTRIB
Setting section attributes
BARC_ADD_RIBBON
Adding a ribbon to the time axis
BARC_SET_RIBBON_ATTRIB
Setting attributes for ribbons in the chart
BARC_ADD_GRID
Adding a time grid
BARC_SET_GRID_ATTRIB
Setting grid attributes
BARC_ADD_LAYER
Adding a layer (graphic elements)
BARC_SET_LAYER_ATTRIB
Setting layer attributes
BARC_ADD_LINE
Adding a line
BARC_ADD_CALENDAR
Creating a calendar
BARC_SET_CALENDAR_ATTRIB
Setting attributes for a calendar
BARC_ADD_TIME_PROFILE
Creating time profiles
BARC_SET_TIME_PROFILE_ATTRIB
Setting attributes for time profile
BARC_ADD_INTERVAL
Adding a time interval
BARC_SET_INTERVAL_ATTRIB
Setting time interval attributes
BARC_ADD_TIME_OBJECT
Creating a time object
BARC_CONVERT_DATE
Creating a date string in bar chart format
BARC_REVERT_DATE
Converting a date string in bar chart format to date and time
BARC_ADD_DATELINE
Creating a date line
BARC_SET_DATELINE_ATTRIB
Setting dateline attributes
BARC_GET_PROFILE_CONTENTS
Obtaining profile contents for customizing a chart
BARC_GET_COLUMN_WIDTH
Selecting new column width
BARC_SET_COLUMN_WIDTH
Setting the column width
BARC_GET_TEXTINDEX
Obtaining the text index of a field
BARC_SET_LABELS
Positioning the chart display
BARC_SET_COLUMN_ATTRIB
Setting column attributes
BARC_SET_ROW_ATTRIB
Setting row attributes
BARC_SET_ROW_HEIGHT
Setting the line height
BARC_SET_MAXCHARTS
Setting the maximum number of charts sent
<b>If its usefull reward points
</b> -
Uses for the Action Property with SQL and Oracle DB Adapters
This thread is a complement to the Wiki Article
BizTalk: Streamlining WCF SQL and Oracle Messaging-Only and Other Patterns
The question. In what circumstances is explicitly setting the Action value with the WCF SQL and Oracle DB bindings useful or beneficial.
A complimentary question. Is it even possible to set the Action value to anything other than exactly what is required by the Message.
I ask because of three very specific behaviors of the bindings themselves:
The binding enforces a match between the Action and the Message, therefore...
There is a one-to-one relationship between the Message and Action, but...
The binding is able to correctly derive and perform the requested operation with the unspecific CompositeOperation.
For clarity, I understand how to set the Action. I. understand what the Action represents in the SOAP scheme. I understand how Action can be used as an abstraction for SOAP operations.
Thoughts?Do you have any good suggestion to learn how to use action property with SQL and Oracle DB adapters? I learn a lot from your replies for years in BizTalk forum. :)
-
Dblink creation between sql and oracle server
Hi dears,
I need to create dblink between the sql and oracle server.
(For me the requirement is sql datas need to import in oracle database).
My questions is,
Without installting gateway is't possibale to get the sql data in the oracle server.
my database version is 11.2.0.3 64bit
Kindly let me know, Waiting for your suggestsion.
Regards
AthishAbout the Linked Server mechanism have a look at the MS Knowledge base article:
Article ID: 280106 - HOW TO: Set Up and Troubleshoot a Linked Server to Oracle in SQL Server
or
How to run a SQL Server 2005 Integration Services package as a SQL Server Agent job step Article ID : 912911
Regarding DG4ODBC and DG4MSQL, please have a look at our Support portal and look for the gateway master note:
Master Note for Oracle Gateway Products [Document 1083703.1]
It contains generic information how to connect to the foreign database
Document 233876.1 Options for Connecting to Foreign Data Stores and Non-Oracle Databases - For example - DB2, SQL*Server, Sybase, Informix, Teradata, MySQL
as well as the functional differences between the Database Gateway for ODBC (Generic Connectivity) and MS SQL Server
Document 252364.1 Functional Differences Between Generic Connectivity and Database Gateways
Document 232482.1 Gateway and Generic Connectivity Licensing Considerations
as well as where to find the latest release and how to install and configure them. -
User Function Name wrong resultset in Oracle Apps Query
Hi,
I am using the below query to extarct the user function names alonng with responsilibity .But doing so i am getting a User Function Name for eg 'Cross Validation Rules' under Order Management User.But thats wrong.Cross validation rules should exists in Receivables,GL and Payables.
select distinct frv.menu_id, frv.responsibility_id, frv.responsibility_name, fff.function_name, ffft.user_function_name
from
fnd_responsibility_vl frv,
fnd_responsibility frp,
fnd_form_functions fff,
fnd_form_functions_tl ffft,
fnd_resp_functions resp,
fnd_menu_entries mnu,
fnd_menus fmn
where
fff.function_id = ffft.function_id
and mnu.menu_id=frp.menu_id
and mnu.menu_id=fmn.menu_id
and frv.responsibility_id=resp.responsibility_id
and mnu.function_id=ffft.function_id
and resp.rule_type='M'
and frv.menu_id in (select me.menu_id
from fnd_menu_entries me
start with me.function_id = fff.function_id
connect by prior me.menu_id = me.sub_menu_id )
and (frv.responsibility_name like '%Order%')
order by 1
Kindly any help will be helpful for meWhat is your application release?
I am using the below query to extarct the user function names alonng with responsilibity .But doing so i am getting a User Function Name for eg 'Cross Validation Rules' under Order Management User.But thats wrong.Cross validation rules should exists in Receivables,GL and Payables.Please try the queries in these docs.
Script To Extract Submenu And Function Information About A Menu [ID 458701.1]
HOW TO GENERATE MENU TREE FOR A MENU ATTACHED TO A RESPONSIBILITY IN ORACLE APPLICATIONS 11i ? [ID 312014.1]
Thanks,
Hussein -
Can We use FDM as ETL tool between SQL and Oracle
I want to use FDM as ETL tool between SQL and Oracle. Can it be possible. I didn,t found any target adapter for oracle database.My source system is SQL and Target system is Oracle database.
Rahul
Edited by: user12190125 on Nov 9, 2009 4:23 AMRahul,
I believe this is possible to do, but not an easy one and there are a few considerations:
How much data are you processing? FDM has a lot of features which support the business process. While this is great for users and audit trail etc. it slows down performance if you want to process a lot of data. It also depends on the type of mappings you use (Like mappings are slower than explicit mappings).
How familiar are you with VBScript? There is no explicit target adapter for Oracle, but there is a data mart adapter which can be used for anything. You have to implement everything yourself though, mainly the Export and Load actions. In there you will also have to handle the the connections to the MSSQL and Oracle databases.
Check the data mart adapter and see if you feel comfortable with defining the vb code in there. There are reasons for and against this approach. ODI would probably be the better choice unless you really need to have FDM's process support.
Regards,
Matt -
SQL and Oracle in synchronization
I have to synchronize for about 2 months one Oracle 9.i database and one SQL server 2000, Standard edition database, both running on Win 2K Server. Every change made on either of the databases (the best is there are only 4-5 tables reflected) has to be provided on the other side almost in real time. I choused to use SQL server as a way to do it. For Oracle I have only the ODBC connectivity (supplied for free) and I did have a lot of problems in ORA 8.1.6... Needless to say, there's no money for third party products or even new ORA transfer utility, as the 2-month are not sufficient time.
I did set up linked servers between SQL server and Oracle and trying to make some triggers working for me, but is this the best way to do it? May be somebody has better experience...
Any ideas will be greatly appreciated.
Thanks,
MJDo you really like to implement a two way replication between M$ SQL and Oracle?
Maybe you can try this using the heterogenous gateway and Oracle Advanced replication. Don't know if this could work our test environment would be ready but actually there's no time to try.
Will keep you informed if I know more.
In this way you don't need any third party sw and I think it could work, but never have tried it out.
Could be an interesing challenge ;-)
Michel -
Frequently transfering databases between MS SQL and Oracle
Hello all,
I am looking for a solution to easily, efficiently and be able to migrate/transfer databases between MS SQL and Oracle frequently.
I need to be able to replicate a databases on Ms SQL and Oracle for testing purposes. I will need to do this on frequent basis - almost once a week.
Please suggest what would be the best way.
Thanks in advance.Hi Justin,
You have guessed it right to a great extend. Yes dont actually need to develop, rather need to test an application that supports SQL and Oracle databases. Now when testing the application its obviously vital to create proper systematic test data. This usually takes a lot of time and effort from the testing team/team-member. So, yes what I need to do is create the test data on one database(may it be SQL or Oracle) and migrate/transfer the data into the database on another server( ie. SQL to Oracle or Oracle to SQL).
So,
Are you developing a product that works against both SQL Server and Oracle and trying to synchonize development efforts?Yes, thats correct to extend, I need to test an application against both the servers, as it supports both types of databases, and try to reduce the test setup efforts (literally double the amount) that go in after manual creating same data on each type of database.
Are you trying to replicate structural changes between systems?I am not 100% sure, what you mean by this. But whats important and enough for me is to replicate the data. It would not be a lot of work to run the scripts and create empty schema objects.
Are you trying to replicate data changes between systems? The fact that you're only doing this weekly suggests that you're not working in a traditional replication environment.Yes, again as I mentioned above. It would be sufficient for me to just get a copy of the initial dataset. And then replicating changes to it would not be that important. However, if I can achieve a solution to this, I can by all means create a new database on the one server (SQL or Oracle) and take the data-set of the most recent/correct changes and replicate it on the other type of server as and when needed.
No - this is not a traditional replicating environment. I say weekly, because it is usually once in a week or forthnight that someone from the team will need to spent time to manually copy the test-data onto the another type of server in order to run the same testcases on two types of servers.
How do you handle conflicts (i.e. if I modify a row in both systems, which modification wins)? This is not really a problem in my scenario, as I only need to be able to transfer the data across to the different server and forget about the two databases actually being in-sync.
I have also, looked at DTS for a possible solution on SQL, however it seems highly un-realistic, having to map somewhere like 250 tables from the a drop-down list, only because the two database servers use different cases to represent tables internals. So, table 'Table' in my application's SQL database is called 'TABLE' is my applications Oracle database. DTS is highly inefficient in dealing with this. Also, having 250 tables move makes this a bit of a pain.
Thank you Justin for your response; I highly appreciate your inputs.
Regards, Nisarg -
What are the table names for CRM and APO?
hi friends,
what are the table names for CRM and APO?
Regards
suneel.hi Suneel,
check in crm forum
Re: SAP-CRM Tables
BUT051 BP Relationship: Contact Person Relationship
Similar to BUT050 , additionally contains Contact Persons Address data
BUT0BK Business Partner: Bank Data & Details
BP Number, Bank Key, Bank Country Key, Bank Account Number
BNKA Bank Master Data
BUT100 BP: Roles
ADR2 Telephone Numbers (Business Address Services)
ADR6 SMTP Numbers (Business Address Services)
Contains Email Id of the BP.
ADRC Addresses (Business Address Services)
BPs Complete Address Details- City, Country, Post Code, District, Street, Title No Etc
TSAD3T Table containing the Title text against a Title No.
COMM_PRODUCT Master Table for Product
CRMM_BUAG Master table for Business Agreement
CRMM_BUAG_H Header Data for Business Agreement such as Tax Category, Tax Characteristic, Form key, Business Agreement Class. Data in this table correspond to ISU CRMD_ORDERADM_H Contains the Header Information for a Business Transaction.
Note:
1. It doesnt store the Business Partner
responsible for the transaction. To
get the Partner No, link it with
CRM_ORDER_INDEX.
2. This table can be used for search
based on the Object Id(Business
Transaction No).
CRMD_CUSTOMER_H Additional Site Details at the Header Level of a Business Transaction
CRMC_PROC_TYPE Master table Business Transaction Type
CRMC_PARTNER_FCT Definition of Partner Functions
SCPRIOT Priorities for Activities with priority text.
CRMC_PROC_TYPE_T Text for a transaction type
CRMC_ACT_OBJ_T Objective Number and Text for Activities
TJ30T All the status code and text
CRMC_PR_ASSIGN : Transaction Type and its Transaction Type Object.
IBIB : Installed Base/Ibase
IBIN : Installed Base Components
COMM_PRODUCT : Products
CRMC_T077D : customer account groups
CRMD_ORDERADM_H (for header) CRMD_ORDERADM_I (Item data)
CRMD_ORDERADM_H Business Transactions CRM
CRMD_ACTIVITY_H Activity
CRMD_OPPORT_H Opportunity
BUTOO : Customer details
BUT001 BP: General data II
BUT100 BP: Roles
BUT150 BP relationship: Attribute table (test
different
BUT_HIER_TREE Business Partner Group Hierarchy
CDBC_T_PRODUCTID Mapping: Product Id
CDBD_ORGMAN Business transaction - organizational unit -
set
COMC_PRODUCT General Product Settings
COMC_R3_FIELDS Assignment of R/3 material master fields to
CFOP
COMM_CATEGORY Category
COMM_CFGMAT Basic Data for Materials
COMM_HIERARCHY Category Hierarchy
COMP_TYPES Hierarchy Tool: Comparison Type Check
Table
CRMC_CPRICPROC Customer Pricing Procedures
SMOKVBEZ15 Assignment employees to positions
CRMMLSGUID: GUID entry (should match GUID in CRMPRLS)
CRMM_BUT_CUSTNO : Also GUID table (GUID here should match GUID in R/3 table CRMKUNNR)
SMOFSUBTAB : Mapping & Parameters
SMOFDSTAT : Download Monitor (R4AM1)
SMOFFILTAB : Filters (Should match filters in R3AC1 & R/3 Table CRMFILTAB)
SMOFOBJECT Definition of Objects for Download
SMOFOBJPAR Parent Objects of an Object in Table
SMOFPARSFA Middleware Parameter
SMOFQFIND Queue Finder Table for MW-Queue finder
SMOFTABLES Definition of Tables for Download -
Guide to differences between SQL Server Transact SQL and Oracle PL/SQL
Does anyone know of a good book (or online guide) that has an in-depth comparison of the differences between SQL Server Transact SQL and Oracle PL/SQL? (Something more than a beginner's guide)
Hello,
Below links will surely be helpful
Discontinued features in SQL 2012
Depricated features in SQL Server 2012
Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers -
What is Difference between ANSI SQL and ORACLE SQL
Hi,
I am going to take the assesment test for ANSI SQL Programming before that i want to know any difference between ANSI SQL and ORACLE SQL?
I am studying for SQL but the test will be ANSI SQL please let me give an idea about the both.
Thanks
Merina RoslinBasically there is syntax difference between both of them.
Lets say i want to join two table EMP and DEPT based on DEPTNO.
With Oracle SQL format its like this.
select e.*
from emp e, dept d
where e.deptno = d.deptnoHere the joining condition goes in the WHERE clause.
With ANSI SQL format its like this.
select e.*
from emp e
join dept d
on e.deptno = d.deptnoHere the join condition is mentioned separately and not in WHERE clause.
Oracle supports ANSI SQL starting from 9i version.
You can read more about the syntax difference Here -
I NEED THE TABLE NAME FOR THE FIELD DESCRIPTION GIVEN!
I NEED THE TABLE NAME FOR THE FIELD DESCRIPTION GIVEN!
Partner Type
Partner Type Desc
Partner no
Partner Name
Partner Address 1
Partner Address 2
Partner Address 3
Partner Address 4Hi Jyotirmoy ,
You can get all partners and their type in table EDPP1, depending of the partner type you need to go to specific table for address and other details, like for partner type KU(customer) goto KNA1,etc for partner type LI(vendor) goto LFA1 etc for partner type B(bank) goto BNKA etc ....
Sirish -
Hello, I was using a MySQL database and i will soon use Oracle8. I was wandering if Oracle authorize something like mysql_result... I'm looking too for simple documentation about connecting to an Oracle database from a php file using Sql. Do u know books or sites ? Tks
user12317666 wrote:
Does Oracle support T-SQL ? Why would Oracle support a proprietary macro-based language implementation from a competitor?
If it is not supported in Oracle, what is the major grammer difference between T-SQL and Oracle supported SQL ? Oracle has two languages. SQL. PL/SQL.
PL/SQL is formal declarative procedural language with object orientation programming features. It is based on the Ada language (close relative of the Pascal language).
SQL is fully integrated with PL/SQL. Which means that you can write and mix SQL source code with PL/SQL source code and the PL/SQL compiler will figure out which is which and where to make calls to the SQL engine for executing SQL code.
Is there any efficient way for programmer to complete T-SQL transition to Oracle SQL ? Yes. Unfortunately not the answer that you are likely hoping for.
Forget EVERYTHING you did with T-SQL.
There is no real comparison between the two. And not only many differences, but some fundamental and conceptual differences too. -
Volumes and Qtrees set up for SAP and Oracle
Hi Gurus
I Need your help Please
I need to get Volumes and Qtrees set up for SAP and Oracle.
I found a document from NetApp that helped a lot about the structure.
But what I donu2019t know and canu2019t find anywhere is sizing for the volumes and Qtrees.
I really need some guidelines on sizing these below:
FlexVol saplog
/usr/sap/SID
/usr/sap/trans
/sapmnt/SID
/home/SIDadm
/oracle/SID
/oracle/SID/origlogA
/oracle/SID/origlogB
/oracle/SID/oraarch
/oracle/SID/sapreorg
/oracle/SID/sapbackup
/oracle/SID/saparch
FlexVol sapdata
/oracle/SID/sapdata1
/oracle/SID/sapdata2
/oracle/SID/sapdataN
FlexVol mirrlogs
/oracle/SID/mirrlogA
/oracle/SID/mirrlogB
Thanks and appreciate your help> I have gone through the Inst Guide and I was surprised to see only 50 MB for Oracle software directory ?
Where did you read that?
> The sizing given in Installation guide is for typical setup or do we need to size as per our requirement ?
The sizing give there is for the initial system setup. It does not contain customer specific requirements.
The usual process is:
- you contact your hardware vendor
- you use http://service.sap.com/quicksizer together with him and fill in the data
- the hardware vendor will offer you the storage and the machines for the setup
- the vendor configures with you the storage and the necessary filesystem layout based on that sizing
Each customers setup is different and requires the experience and knowledge from the respective hardware vendor how to set up the system so it performs well.
You can follow the suggestions given here, this will be enough for the initial setup but the system will grow. This is not taken into account in the installation guide because it's customer specific.
Markus
Maybe you are looking for
-
Installation Problem - Java SDK 1.4.1
I have a problem with installing Java on my machine at home that you may be able to help me with. Here are the Details: 1) I installed the most recent java SDK on my machine. 2) I set the Autoexec file with the correct PATH statement. 3) Set the corr
-
Failed to configure IPv6 interface(s): eri1 - how to debug?
I have a problem configuring the second network interface for IPv6 under Solaris 10. The first interface, eri0, is configured and works fine. The second one, eri1, has a link-local address but no global address. Both links are up and working, I can p
-
The superdrive in my 800mhz G4 iMac seems to be dying. When I try to rip CDs, they need to be absolutely spotless to rip. Otherwise it sounds like something is hitting the computer from the inside over and over. Then I get the spinning beachball and
-
SATA Locks on 3 & 4 ??!!
I have read many posts about this and the prevailing belief is that SATA 1 & 2 is not locked but 3 & 4 are. WHen I set my FSB at anythjing marginally above 200, I can't boot with the drives in 3 & 4 but I can boot up to FSB 235 om SATA 1&2, which is
-
RMI Server Codebase Permission Denied
I'm having a problem trying to get my application running in a test environment. I currently have this same application up and running in an almost identical location without any issues, and I'm at a loss to understand what the problem is. My applica