Language is SQL varies from database to database?
Language is SQL varies from database to database?OR
SQL language is universal?
All providers which makes a database has differences in SQL. The basic concepts are universal, but there are specific to the provider, different versions of the standard, extensions etc. SQL.
Tags: Database
Similar Questions
-
Dblink Oracle to sql server, multiple database on the same server sql under a dblink
Hi, we managed to set up an Oracle dblink to sql server and retrieve data.
The user of sql server have been using via dblink has access to multiple databases on the same sql server
But the question is how in oracle (if possible) prepend you the SQL access to this?
For example:
Sqlserver_prod has the user sqlserver_user which seems to be set up as default database sqlserver_db1
But we have select access to sqlserver_db2
all work well as sqlserver_user
Select * from table_fromdb1
Select * from dbo.table_fromdb1
Select * from sqlserver_db1.dbo.table_fromdb1
as does
Select * from sqlserver_db2.dbo.table_fromdb2
more in Oracle
Oracle_db a dblink sqlserver_prod. World connection sqlserver_user
everything works fine
Select * from 'table_fromdb1"@sqlserver_prod '.
Select * from 'dbo '. "table_fromdb1"@sqlserver_prod
But how to (if possible) access from oracle
sqlserver_db2.dbo.table_fromdb2
without having to create a new sqlserver_db2_user referenced in a new dblink
If oracle for oracle would be
Select * from remote_oracle_schema.table@remote_oracle_db
Hello
You cannot select a table in a different SQL * database server from that to which the gateway instance connects.
As stated in the documentation-Oracle® database gateway
Installation and Configuration Guide
11g Release 2 (11.2) for AIX 5 L Based Systems (64-bit), HP - UX
Itanium, Solaris (SPARC 64-Bit), Linux x 86 operating system,
and Linux x 86-64
In the section.
The example SQL Server multiple databases: Configuration of the modem router
A separate instance of the gateway that is required for each SQL Server database. Each
instance needs its own Gateway system ID (SID).
==========
You will need to create a new instance of the gateway for the SQL * Server DB2 as well as a link separate db.
Kind regards
Mike
-
Migartion SQL Server 2008 database 11 GR 2 database
Hi Expert,
At the moment I am using SQL Server 2008R2 database and I want to migrate the Oracle Server 11 GR 2, what stage will be suitable for me, someone suggest me?
Kind regards
Moin
I, ve successfully because the migration of MS Server2008R2 of Oracle database 11 g 2.
1. install the JDBC driver 3d for MS SQL Server (jtds - 1.2 in our case) and save it in SQL Developer.
2. to ensure that we are able to connect to SQL Server DB (you have the IP address, the name of DB and credentials).
3. in SQL Developer 3.2.2 go to tools/Migration and select "Create Database capture Scripts".
4. Select SQL Server 2008 in the drop-down list and set the scripts directory.
5 run it, it will create two *. BAT files in the selected directory.
5. go to this directory and run the OMWB_OFFLINE_CAPTURE. BAT script like:
-To run this script, enter the following command at the prompt.
----
-OMWB_OFFLINE_CAPTURE login_id server_name database_name password
-where,
-login_id is a login id that has been granted db_datareader
- and look up the definition on database_name
-password is the password for the login id
-database_name is the name of the database you want to capture
-servername is the name of the server on which lies the database
-For example,.
-OMWB_OFFLINE_CAPTURE his employeeDB DEPT1_SERVER sapwd
This script uses the bcp.exe utility to export the metadata and data from the DB in SQL SERVER specified in the sqlserver2008.ocp file.
When it's done, you're ready for offline migration.
6. in SQL Developer, go to tools/Migration/Migrate, follow the instructions in the wizard, select Migration offline and use the generated file sqlserver2008.ocp.
There are break settings that you can change the options and control the output of the process. The Migration process will generate one or more files for Oracle SQL.
7. run the scripts generated against your Oracle DB.
8. it's her.
-
ORA-20002: you can't create links from database
HI Experts,
Creating database link, I get the error below. Anyone of you could please have some light on this error. I googled for this error and did not get any update.
Oracle version: 11.2.0.3
The user with whom I created this link of database DBA privilege.
SQL > create database link temp_LINK connect to account identified by * using "(DESCRIPTION = (ADRESSE = (COMMUNUITY=tcp.world) (PROTOCOL = TCP)(Host=myself.us.lev.com) (Port = 1525)) (CONNECT_DATA = (SID = LNDB1DB)))'; "
create database link temp_LINK connect to account identified by * using "(DESCRIPTION = (ADRESSE = (COMMUNUITY=tcp.world) (PROTOCOL = TCP)(Host=myself.us.lev.com) (Port = 1525)) (CONNECT_DATA = (SID = LNDB1DB)))'; "
*
ERROR at line 1:
ORA-00604: error occurred at the SQL level 1 recursive
ORA-20002: you can't create links from database
ORA-06512: at line 4Thank you..
Well Yes, this request confirmed suspicion of SB.
The datadictionary is your friend
-
Install Oracle GoldenGate Linux to synchronize two schemas from database on a single server
Hi all
I have to synchronize two schemas from database (Oracle 12 c) in a single host RedHat Linux to demonstrate and understand the use of OGG V12.1.2.1.0. I try to do. But it's complicated and confused me because I am new to Oracle and Linux. I followed this tutorial ( install Oracle GoldenGate for Oracle 12.1.2 on CentOS/6.x to 6.x/RHEL Linux 6.x EL ). But it is difficult to understand how I can match with two diagrams of database on a single server.
And I found this tutorial (Oracle GoldenGate on Linux: two-way replication of Oracle 11 GR 2 to Oracle 11 g 2). He said: "" If you have that one host, it may be useful to change the /etc/hosts file to create aliases forhost01.example.com and host02.example.com.". What it really means?The other seems to be useful. But it's totally different from 1. Is that this will help my job since I use 12 c Oracle Server?
Can I get some tips to continue my task?
Here's another tutorial - http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/goldengate/12c/OGG12c_Integrated_Replicat/index.html
It has everything set up on a single Linux host.
-
Synchronize two schemas from database on a linux server using Oracle GoldenGate
I followed this guide ( http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/goldengate/12c/OGG12c_Installation/index.html?cid=9167 & ssid = 0 ) and for two different databases running on the same instance of database schemas.
What I have now is a Linux server with two Oracle database schemas. I have access through my Linux virtual machine. I want to do the synchronization possible between them.I use Oracle GoldenGate to make this possible. What should I do now? Goldengate is must be installed in the server too? I'm totally new to this situation. Can someone give me at least the major steps before going to the more comprehensive study?
Well understood. This helped.
Install Oracle GoldenGate Linux to synchronize two schemas from database on a single server
-
Draw lines based on values from database
I want to draw the line based on the data from database.
Number of lines will be the number of records in the query.
line length will be based on the value of the column in centimetres.
by example, if the query selects 3 folders 3 lines will be drawn.
If the first record column value is 5 then 5 cm line will be drawn.
Thank you.
Please find the sample report and xml.
Kaya.
-
Unable to display data from database using persistence mobile A-team
Hello
We use the accelerator of persistence for Mobile A-team with application of the MAF. We built the REST services based for CRUD operations on a table. We are unable to use the POST CREATE service by application of the MAF. We tried using saveTask and addTask data control methods it generates automatically. Although it is saved locally to the iterator of data control, it doesn't push the data from database. We tried to test the service REMAINS independent and works well.
Can anyone help regarding if lack us measures in the same?
Thank you
Vignesh
Vignesh,
Indeed, there are two issues here:
-the attributes of the payload are different
-the structure of the payload is different, the GET request has an attribute "Task" that returns an array, the POST request submitting a single object through the attribute "taskDetails.
By default, the accelerator of persistence assumes that the POST request has the same payload structure and attributes as the GET request that you used to 'discover' the data objects.
However, you can easily change this as follows:
-To add additional attributes required in the POST, you should restart the wizard REST-JSON directly access the data object attributes screen and click on the button 'add an attribute '. Add each attribute you need in the POST request and the attribute name to the value required in the POST request payload. No matter that this attribute of the payload does not exist in the payload GET, it will be ignored during extraction of the tasks.
-To fix the second issue, you must change the persistence - mapping.xml:
-go to the createMethod task
-Remove the payloadElementName attribute
-Add the payloadRowElementName attribute and set the value to "TaskDetails.
It's a little strange that you post in order to get other attributes, it is there another resource GET that returns all attributes for a task?
In addition, you cannot derive columns audit as created_by on the server-side? It's a bit unusual set these values at the level of the customer.
Steven.
-
import data from database 8i to 11 g R2
Hi all
I try to import the exported data from database 8i to Oracle 11 g server. I find in the import log.
Export file created by EXPORT: V08.01.07 by conventional means
import in WE8MSWIN1252 and AL16UTF16 NCHAR character set
import server uses WE8ISO8859P1 (possible character set conversion) character set
Customer export uses WE8ISO8859P1 (possible character set conversion) character set
export server uses WE8ISO8859P1 NCHAR (possible ncharset conversion) character set
is this normal?
I have several version of the client installed on the client computer.
I find in HKEY_LOCAL_MACHINE > SOFTWARE > ORACLE > NLS_LANG = AMERICAN_AMERICA. WE8ISO8859P1
in HKEY_LOCAL_MACHINE > SOFTWARE > ORACLE > KEY_OraClient11g_home1 > NLS_LANG = AMERICAN_AMERICA. WE8MSWIN1252
Is it normal that the the NLS_LANG on the same client have different values?
Thank youYES, you can check the compatibility of * compatibility matrix for export and import between different Versions, Oracle [Video] [132904.1 ID] *.
-
Hide information from database - reports 10g
Hi friends,
How to hide the info from database when running reports from 10 g.
IE "userid/password@connstring".
Thanks in advance...
Kind regardsHello
A few notes:
1. you need an entry like this in the cgicmd.dat file:
Key1: userid=scott/tiger@dbalias % *.
2. except if the RELOAD_KEYMAP parameter is set to YES in rwservlet.properties
http://download-UK.Oracle.com/docs/CD/B14099_17/bi.1012/b14048/pbr_conf.htm#i1007431
You must restart the OC4J_BI_Forms after the change of cgicmd.dat
concerning
-
Import the SQL Server 2008 database to Oracle XE
Hello
I just installed oracle 10g Express Edition locally on my PC.
I would now like to import a SQL Server 2008 database (structure and data).
Is this possible? Y at - it a utility Oracle that I can use?
Thank you
M.R.You can use [Oracle SQL Developer | http://www.oracle.com/technology/products/database/sql_developer/index.html].
See also: [http://download.oracle.com/docs/cd/E12151_01/doc.150e12156.pdf |] Oracle SQL Developer for MS SQL Server, Sybase and other Documentation.]
Roberto.
Add help.
Published by: rober584812 on February 25, 2009 13:37 -
NVL function varies from char to varchar2 data type
My question is why nvl function varies from char to varchar2 data type?SQL> select * from v$version; BANNER -------------------------------------------------------------------------------- Oracle Database 11g Release 11.2.0.1.0 - Production PL/SQL Release 11.2.0.1.0 - Production CORE 11.2.0.1.0 Production TNS for 32-bit Windows: Version 11.2.0.1.0 - Production NLSRTL Version 11.2.0.1.0 - Production SQL> create table fullJoinTest1(col1 char(14)); Table created. SQL> create table fullJoinTest2(col1 char(14)); Table created. SQL> insert all 2 into fullJoinTest1 values('aaa') 3 into fullJoinTest1 values('bbb') 4 into fullJoinTest2 values('aaa') 5 into fullJoinTest2 values('ccc') 6 select 1 from dual; 4 rows created. SQL> select nvl(a.col1,b.col1) as aaaa 2 from fullJoinTest1 a full join fullJoinTest2 b 3 on a.col1=b.col1 4 where nvl(a.col1,b.col1)= 'ccc'; no rows selected SQL> create table fullJoinTest3 as 2 select nvl(a.col1,b.col1) as "WhatIsType?" 3 from fullJoinTest1 a full join fullJoinTest2 b 4 on a.col1=b.col1 5 where nvl(a.col1,b.col1)= 'ccc'; Table created. SQL> desc fullJoinTest3 Name Null? Type ------------- -------- ------------ WhatIsType? VARCHAR2(14) SQL> create table fullJoinTest4 as 2 select case when a.col1 is not null then a.col1 else b.col1 end as "WhatIsType?" 3 from fullJoinTest1 a full join fullJoinTest2 b 4 on a.col1=b.col1; Table created. SQL> desc fullJoinTest4 Name Null? Type ----------- -------- -------- WhatIsType? CHAR(14)
Same case expression does not change the data type.
I insist that this is a bug of function nvl isn't - it.Documented behavior:
http://download.Oracle.com/docs/CD/E11882_01/server.112/e17118/functions119.htm#SQLRF00684If expr1 is character data, then Oracle Database converts expr2 to the data type of expr1 before comparing them and returns VARCHAR2 in the character set of expr1.
-
I only bought individual songs (singles for the most part) to I-tunes. But on EVERY song that I bought it goes silent after awhile. The song still plays, but he is silent. The time varies from song to song, sometimes it goes silent a few minutes before the end, sometimes it's 30 seconds. It is different from song to song. At the end of the song/silence he plays very well the next track. Unless it's a song I bought. This has only started recently. Each song or track that I downloaded from my own record collection is very good! Is the path of the Apple to get more money?
I would be grateful for any ideas how to solve this problem.
Thank you, Nigel van Beek
Mine is too, but it's mainly my non-iTunes songs and some just skip the whole song, every time I try to play rather than simply silent.
Synchronize the iTunes Song not fixed either, what is worst iTunes for Windows itself isn't even working now
-
PCI 6259 - Trigger HAVE voltage measurment when P0.31 varies from low to high
I write a model that uses the output digital (P0.8 - P0.31) and you want to trigger a tension measured on AI16 when P0.31 varies from low to high. Any ideas on how to achieve this?
Almost what Michael said...
michael_lewis23 wrote:
Have you looked at an example in the finder for example LabVIEW? You can export a digital signal connect your p0.31 signal using a wire to a PFI line on the DAQ card. For a task of analog input, you can place a DAQmx Start Trigger VI and choose the use a clock source external sample under the line of PFI where the digital signal have been exported to.
Best regards
-
How to reference a global non-statique Timer var from a static context
Hello. I need to have a single world clock for my application, which can be canceled and re-scheduled for a different date, to within a few static methods in the application.
I confess that I do not understand how the static. I'm now declaring my Timer as static at the class level (so it could be accessed from static methods), but it does not seem to keeps its value and is null when it should have a value. To be exact, I set my Timer = new Timer() variable of in a method static and annex, then return to cancel it and reschedule, only to find the timer variable is null.
What I want is to have a single global Timer, so some code runs when it gets to zero (I don't want to declare a local var Timer in my calendar and static methods because then I would have several timers). And I want to cancel the account countdown and the reporter at will. (There is an another Timer for another purpose, but I want just a thin Reset).
I noticed that my level variable class static Timer (I thought that a timer could not be static) could be assigned to = new Timer() - it compiled correctly. My limited understanding is that static variables contain no instance, so I'm struggling with this. Reading, I think that in a static context, you cannot reference non static var because Java does not know which instance of the object you want.
I found that if you want to access a non static var from a static context, you must first instantiate the class container and say classname.globalvar in the static context. Problem is when I tried that I found that I already had an instance of the application running, as I instantiated my UIApp in main() just before I entereventdispatcher - so an exception has been thrown. My application was created using JDE 4.6 and it's a UIApplication.
How do you have a class-level Timer, referenced from a few static methods, cancelled and postponed? Or I go about it the wrong way? Never appreciated as ideas.
Justin.
@icefrost1. We could discuss on this point, but since the Original Post, I think that the simplest solution is to use a Singleton.
But in fact, we must be clear on what is actually the Singleton. In this case, I have this code so that the Singleton contains a reference to a timer, i.e., it is not the timer itself. The process may update the reference to the timer, so that any other treatment sees the update timer. At least that's how I'd do.
Maybe you are looking for
-
First gen HD will work in a more recent iPod
I have a first generation iPod 60 gig that leave work. I want to try the hard drive in it in another iPod, but can't find the fourth generation of those. They are not turning disks and if so, can I put the old drive on another iPod? Thanks for any he
-
Tecra R10 - how to remove the memory module?
Hello! How to remove the memory module? Get the following message and for me, it means that one of the modules is broken: Out of memory errorAddress = H 00034000Read Date = H 28034000Write data = H 00034000 For my opinion, the computer should start u
-
I can't get or send emails using Mail on my Mac. It works great on my iPad and iPhone 6
I can't get or send emails using Mail on my Mac. It works great on my iPad and iPhone 6.
-
my old msn account is blocked and I have no response on the recovery of account
Issue 1:My old window direct account has been blocked, but I'm actually signed in.I've applied for account recovery 3 days back, but I got no response on my private forum.2nd numberI signed up for a new account and added my old contacts, but most of
-
Even if Windows Vista, 7 and 8 have long been released, I am still using Windows XP for home usage, because it is easy to use and easy to navigate and not having any problems with it. That being said: 1. in case the disk cleanup and Disk Defragmenter