Access quick migration error - missing privilege
I'm trying to migrate an access 2000 db using the quick migrate, but when I do the pre-migration check I get a "FAILED" for "Checking target rights" - the information says "Missing privilege CREATE VIEW". The user has create view, so I'm not sure what's going on.
Is there a way to get more details as to what causes this failure?
just created a user:
create user abc identified by abc;
and granted only:
grant connect,resource to abc;
Now SQlDevMWB claims about missing create view privilege.
So I granted also:
grant create view to abc;
and now it works well.
So I would suggest you check the privileges manually using SQL*Plus.
Here it would be best to define a view that collects all privileges:
CREATE OR REPLACE VIEW DBA_USER_PRIVS (USERNAME, ROLENAME, PRIVILEGE) AS
SELECT DECODE(SA1.GRANTEE#, 1, 'PUBLIC', U1.NAME), SUBSTR(U2.NAME,1,20),
SUBSTR(SPM.NAME,1,27)
FROM SYS.SYSAUTH$ SA1, SYS.SYSAUTH$ SA2, SYS.USER$ U1,
SYS.USER$ U2, SYS.SYSTEM_PRIVILEGE_MAP SPM
WHERE SA1.GRANTEE# = U1.USER#
AND SA1.PRIVILEGE# = U2.USER#
AND U2.USER# = SA2.GRANTEE#
AND SA2.PRIVILEGE# = SPM.PRIVILEGE
UNION
SELECT U.NAME, NULL, SUBSTR(SPM.NAME,1,27)
FROM SYS.SYSTEM_PRIVILEGE_MAP SPM, SYS.SYSAUTH$ SA, SYS.USER$ U
WHERE SA.GRANTEE#=U.USER#
AND SA.PRIVILEGE#=SPM.PRIVILEGE
and now you can simply check:
select * from dba_user_privs where username='ABC';
What are the permissions for your user?
Similar Messages
-
"java ODBC Microsoft Access Driver Syntax error (missing operator) in query
Hi I am new to java and I am getting this error message when using java to access and insert data into an MS Access database.
"java ODBC Microsoft Access Driver Syntax error (missing operator) in query expression"
The commands are
String insertCommand = "INSERT into MetricOutput(A1,A,DRR,DeRR,RE,WDRR,WDeRR,WRE,ARF,SRF,HRF,WARF,WSRF,WHRF,SDC,WSDC,MAR,WMAR,H1,H11,H2,H21,cluster) "+
"VALUES("+comMappedCount+","+stdCount+","+DRR+","+DeRR+","+RE+","+WDRR+","+WDeRR+","+WRE+","+ARF+","+SRF+","+HRF+","+WARF+","+WSRF+","+WHRF+","+SDC+","+WSDC+","+MAR+","+WMAR+","+H1+","+H11+","+H2+","+H21+",+array)";"VALUES("+comMappedCount+","+stdCount+","+DRR+","+DeRR+","+RE+","+WDRR+","+WDeRR+","+WRE+","+ARF+","+SRF+","+HRF+","+WARF+","+WSRF+","+WHRF+","+SDC+","+WSDC+","+MAR+","+WMAR+","+H1+","+H11+","+H2+","+H21+",+array)";After looking at your post in the editor, I see what your real query looks like. You realize that ",+array[i])" is part of the query, right? And not actually looking at your Java array?
-
[ODBC Microsoft Access Driver] Syntax error (missing operator)
Aello' - as you can see in my database table their are two
records to delete based on the HISTORY_ID of 1. This was working
just fine when I was using a MS SQL Server database but when I
switched to the MS Access database I get this error now.
Is their a syntax difference?mikeap wrote:
> Attached code. Clearly their are records to delete, what
am I missing?
>
> Using MS Access database.
>
> [Macromedia][SequeLink JDBC Driver][ODBC
Socket][Microsoft][ODBC Microsoft
> Access Driver] Syntax error (missing operator) in query
expression
> 'R_PROJECT_MEDIA WHERE Media_ID IN (1)'.
>
> <cfquery datasource="tbar">
> DELETE R_HISTORY_MEDIA
> WHERE History_ID IN (#FORM.pHistory#)
> </cfquery>
DELETE
FROM R_HISTORY_MEDIA
WHERE History_ID IN (#FORM.pHistory#)
Jochem
Jochem van Dieten
Adobe Community Expert for ColdFusion -
SQL Developer Quick Migrate error
I am attempting to migrate my databases from SQL Server 2000 to Oracle 11g. I am attempting to use the quick migrate feature of Oracle SQL Developer and receiving an error, the same error for every database during the build stage. The error is as follows. Any ideas as to resolve this error?
Error starting at line 2 in command:
CREATE TABLE EMPLOYEE (
Error at Command Line:2 Column:23
Error report:
SQL Error: ORA-00904: : invalid identifier
00904. 00000 - "%s: invalid identifier"
*Cause:
*Action:
Commit
Oracle 11g on Windows XP and version 1.2.1.32.13 of sql developer
BrianHi Brian,
There are 2 ways to migrate your database to Oracle using SQL Developer.
1)Normal Migration
*This is the standard way of migrating a database
2)Quick Migrate
*Quick Migrate is basically the "Normal Migration" with all the defaults chosen and each phase capture/convert/generate and data move performed for you.
*Requires very little intervention and tries to complete the entire migration in 1 go.
*Suitable for only small databases and trying out the tool
*Does not allow you to modify anything during the migration
"What do you mean perform the capture of the SQL Server DB then convert and generate? "
I would suggest having a look at this viewlet. A SQL Server Migration ("Northwind") is performed.
http://www.oracle.com/technology/tech/migration/workbench/viewlets/sqlserver.html
The steps are outlined in the doc here
http://download.oracle.com/docs/cd/E10405_01/doc/appdev.120/e10406/migration.htm
You can find more viewlets here
http://www.oracle.com/technology/tech/migration/workbench/files/sdmwb_viewlets.html
And the main SQL Developer Migration Workbench OTN page (which links to everything) here
http://www.oracle.com/technology/tech/migration//workbench/index_sqldev_omwb.html
So once, you capture/convert and generate your script to create your Oracle database. You should be able to identify the exact problem with the DDL.
Regards,
Dermot. -
Syntax error (missing operator) in query expression works in sql
Hi guys,
I am having a problem with this query in Access 2007, it runs
fine in MSSQL.
I get this error when I run it.
[Macromedia][SequeLink JDBC Driver][ODBC
Socket][Microsoft][ODBC Microsoft Access Driver] Syntax error
(missing operator) in query expression
'tbl_skuoption_rel.optn_rel_Option_ID = tbl_skuoptions.option_ID
INNER JOIN tbl_skus ON tbl_skuoption_rel.optn_rel_SKU_ID =
tbl_skus.SKU_ID INNER JOIN tbl_products AS p ON
tbl_skus.SKU_ProductID = p.product_ID'.Access may require parenthesis ( ) around the JOINs when
joining more than two tables -
Syntax error (missing operator) in query expression
Hi all
I am creating a couple of pages where a dynamic list is created from an access database and then products from that list are displayed, the user then has the option of clicking more details, this then should pass the KITID over to the details page, However when i click on the details page i get the following error
Microsoft OLE DB Provider for ODBC Drivers error '80040e14'
[Microsoft][ODBC Microsoft Access Driver] Syntax error (missing operator) in query expression 'KitID = Kit 01'.
/classicclocks/Kieninger_gallery.asp, line 21
Here is the code from the page i am building, can anybody see anything obvious here
strKitID = Request.QueryString("KitID")
' If KitID does not exist then redirect to Gallery page
If strKitID = False Then
Response.Redirect("kit_gallerytest.asp")
End If
' SQL Query for specific KitID details only
Dim objRS
Set objRS = Server.CreateObject ("ADODB.Recordset")
' Open new objRS
strSQL = "SELECT KitID,ImgKitCatalogue,KitDescriptionShort FROM tblMovements WHERE KitID = " & strKitID & " ORDER BY KitID"
objRS.Open strSQL, MM_dbConn_STRING,,,adCmdTable
' Get all rows from table and asign values to array for use in form
Do While Not(objRS.EOF)
Images = True
fsImagesArray = objRS.GetRows()
Const arrKitID = 0
Const arrImgKitCatalogue = 1
Const arrKitDescriptionShort = 2
Loop
' Close objConn and objRS
objRS.Close
strSQL = "SELECT * From tblMovements WHERE KitID = " & strKitID
objRS.Open strSQL, MM_dbConn_STRING
thanks
JohnString values in a SQL where clause must be wrapped in quotes. Try this:
strSQL = "SELECT KitID,ImgKitCatalogue,KitDescriptionShort FROM tblMovements WHERE KitID = '" & strKitID & "' ORDER BY KitID" -
Quick Migration from Access fails
When I try to do a quick migrate from Access to XE it always fails, please help,
You will need to provide more information.
What fails? What error message do you get? What version of SQLDeveloper? -
Access migration - error handling field default value "=Now()"
Hi All,
I'm doing an Access - Oracle Migration.
I've exported the structure, captured the model and generated the SQL.
When I run the SQL I get:
SQL Error: ORA-00907: missing right parenthesis
00907. 00000 - "missing right parenthesis"
It looks like it's related to a default value in Access of =Now()
The access table has a field "Creation Date" type Date/Time and default Value =Now()
The generated SQL looks like this:
CREATE TABLE Offer_Detail (
HotDealID NUMBER(11,0) NOT NULL,
Creation_Date DATE DEFAULT 0w(),
Which causes the error message.
If I change this to:
CREATE TABLE Offer_Detail (
HotDealID NUMBER(11,0) NOT NULL,
Creation_Date DATE DEFAULT SYSDATE,
it succeeds.
I'm using SQL Developer 1.2.1.3213 with extension "Oracle Migration Workbench - MS Access" version 10.2.0.32.13
Thanks,
Greg HHi Greg,
Thanks for this feedback,
I will add this testcase to an existing bug related to this issue
6453282 : DEFAULT VALUE CONVERT INCORRECTLY
We hope to have this resolved in our next release.
Regards,
Dermot. -
Error occurred during quick migration: ORA-06502: numeric or value error
I am very beginner on sql developer.I have a problem during a quick migration from mySQL db to Oracle DB as:
step1: captured model processed successful
step2: convered mode processed failed @ ORA-06502: numeric or value error
My work environment:
SQL Developer (2.1.1.64)
Java platform: 1.6.0
Oracle ide:2.1.1
Ojdbc5.jar
Oracle server ver. 9i
mySQL Datatype: datetime (default_value: 0000-00-00 00:00:00) ,float,varchar(100),int(11)
Please help me!
Thanks in advance!
Vien.kgronau wrote:
could you please log into MySQL using mysql-utility, then change to the db (use <your mysql db) and provide the output of
desc bars_eoptHi kgronau,
Thanks for your response. Below is the table "bars_eopt" description from MySQL db. (first row is a description) sorry about the display is not in line as typing.
Field Type Collation Null Key Default Extra Privileges Comment
Bar_Index int(11) NO PRI 0 select,insert,update,references
Recipe varchar(100) latin1_swedish_ci NO MUL select,insert,update,references
Date_Time datetime NO 0000-00-00 00:00:00 select,insert,update,references
ThresholdCurrent float NO 0 select,insert,update,references
SlopeEfficiency float NO 0 select,insert,update,references
Pmax float NO 0 select,insert,update,references
Voltage_at_Imax float NO 0 select,insert,update,references
SeriesResistance float NO 0 select,insert,update,references
PeakWavelength float NO 0 select,insert,update,references
FWHM float NO 0 select,insert,update,references
CentroidWavelength float NO 0 select,insert,update,references
Efficiency_at_Imax float NO 0 select,insert,update,references
ForwardVoltage float NO 0 select,insert,update,references
FW_90_Percent float NO 0 select,insert,update,references
Emitter_at_Ith float NO 0 select,insert,update,references
Emitter_at_Imax float NO 0 select,insert,update,references
Delta_Emitter float NO 0 select,insert,update,references
LOT_ID varchar(100) latin1_swedish_ci NO MUL select,insert,update,references
Part_Number varchar(100) latin1_swedish_ci NO MUL select,insert,update,references
Pak_Number int(11) NO 0 select,insert,update,references
Pak_Position int(11) NO 0 select,insert,update,references
Tracer int(11) NO 0 select,insert,update,references
OCR varchar(100) latin1_swedish_ci NO select,insert,update,references
Inspection_Result varchar(100) latin1_swedish_ci NO select,insert,update,references
Inspection_Defect varchar(100) latin1_swedish_ci NO select,insert,update,references
Facette varchar(1000) latin1_swedish_ci NO select,insert,update,references
Facette2 varchar(1000) latin1_swedish_ci NO select,insert,update,references
Upside varchar(1000) latin1_swedish_ci NO select,insert,update,references
Downside varchar(1000) latin1_swedish_ci NO select,insert,update,references
Thanks again and Best Regards,
Vien.T -
Issue sourcing from Microsoft Access - Syntax error (missing operator)
I apologize if this has been discussed before. I used the search and went through 7 pages of results, but didn't see a similar issue.
I'm using Windows 7, ODI 11.1.1.5.
I'm trying to source from a local MS Access DB to an Oracle DB.
The session fails pretty much immediately (on step 3) - trying to pull data from the source table.
"Syntax error (missing operator) in query expression"
The source table is very simple and for this test I'm using no joins. Literally a 'select * from'.
However - when I look at the SQL generated - it's wrong. It's got duplicate lines in the SQL and not all columns selected have a comma after and before the next column.
If I run it direct on Access - I get the same error.
If I clean up the SQL - it'll run fine on Access.
I'm using the SQL to Oracle LKM.
I wondered if it was something with the ODBC driver - so I've tried other versions of ODBC drivers for MS Access, and even switched the database itself from the Office 2007 format, back to 2003, and tried a driver for that.
Same result.
If I go to the model and right click and look for the data in the table - it displays fine. So obviously ODI can connect and see the data...
So I guess my questions are:
- is the SQL to Oracle LKM the correct one to source from Access ? I've even gone into it and specified MS Access as the source. Same result.
- if it is the right one - what's going on ?? I've got to assume other people are pulling data from MS Access. Why the garbage SQL ? Clearly I'm missing something.
- and finally - worst case - but is there a way for me to overwrite the SQL being generated so I can correct it myself. This will be a PITA since I'll be source from a bunch of tables - but at least it might be a temporary stop gap...
thanksI'm going to mark this as closed for now. I solved the SQL issue. It was to do with the way the tables / fields were named and how the fields were being brought into the workflow. Tidying up there fixed the problem.
Getting past that brought me to several other issues which I'm still working through. The current is an Invalid Fetch size error - but that appears to have been resolved in patch Doc ID: 13528165 in ODI 11g (ver 11.1.1.5.0)
given the initial issue that I'd raised is no longer a concern - I'm closing.
Edited by: 940843 on Jun 15, 2012 1:27 PM -
Quick Migration from Access db to Oracle using Sql Developer
Hey
I created a connection to an Access DB and then did a quick migration of the tables and data into my Oracle schema. Great!
Now if I add a new table to my Access DB, how do I get this new access table into my Oracle schema without having to do the migration all over again
ThanksI don't think so. It is intended for one-off migrations after all.
You can probably migrate a single table by going through the longer migration process and excluding the ones you have already done. -
Migration Error from Access to Oracle through SQL Developer.
Hi,
Actually I am trying to migrate data from MS Access 2002 to Oracle 9i database through the SQL Developer. But Whenever I go to Capture Database from Access it will show me an error.... Invalid procedure Call and then it shows an error message... >>>>>>
ShowSplashScreen("_OracleSplashScreen",3)
after that i wont be able to do this task anymore..... So please help me get out of it... How Cam I Maigrate data from Access to Oracle 9i...
Is any other tool i use or you can help me for this tool to migrate date...
Please tell me..
If yu can send me a mail then mail me on [email protected]
regards,
VishalHi Vishal,
I have responded to your related thread on the Migration Workbench forum - Migration Error from Access to Oracle through SQL Developer.
Regards,
Hilary -
Getting error message " You are not authorized to access the migration tool "
One of the users is noticed with error message " You are not authorized to access the migration tool " in SAP Cloud for Customer tenant. thanks
Hello Raj,
It seems that this user does not have proper authorization to perform Data Migration.
You need to go to the WorkCenter View Assignment for this user under his access rights & need to assign him the workcenter "Business Configuration" & under it, also assign him relevant access to Data Migration.
This shall fix the issue & the user shall not get this error while trying to perform Data Migration.
Steps:
1. Go to Workcneter: "Application and User Management => Business Users => Seerach for the suer who gets this error => Edit-> Access Rights => Click on Workcenter view Assignment tab & assign the above mentioned worokcenter access and save."
Let me know for any further queries.
BR
Ankur -
Quick Migrate from SQL Server error
I am attempting to migrate my databases from SQL Server 2000 to Oracle 11g. I am attempting to use the quick migrate feature of Oracle SQL Developer and receiving an error, the same error for every database during the build stage. The error is as follows. Any ideas as to resolve this error?
Error starting at line 2 in command:
CREATE TABLE EMPLOYEE (
Error at Command Line:2 Column:23
Error report:
SQL Error: ORA-00904: : invalid identifier
00904. 00000 - "%s: invalid identifier"
*Cause:
*Action:
Commit
Oracle 11g on Windows XP and version 1.2.1.32.13 of sql developer
Brian
Message was edited by:
user606370We have two more customers that currently are in the process of upgrading from MS SQL but as far as I know no one has actually performed an upgrade this far.
If you want to upgrade to OIM 9.1 you will have to wait until the upgrade scripts are available (estimated arrival H2 2008 according to the latest info I have).
If you would like to discuss this further send me an email on firstname.lastname@my_company.com (you can get the "variables" from my forum profile)
Best regards
/M -
We've got a couple of Windows 2012 r2 / Hyper-V 3 node clusters, and I have a problem with network adapters on them.
I have 3 node cluster all vm running fine on node 1 and 2 also quick and live migration very good between
node 1 and node 2, but no vm migrating on node 3. show "Network adapter configuration error".
If the VM is powered off, and I move it to 3rd
host (quick migration via Failover Cluster Manager), the network adapter loses its connection to the virtual switch - it turns to "Configuration Error"..if
manually change V switch of every VM then it worked only on 3rd node, and having same problem on node 1 and 2.
Quick migrate with the power off, and it fails to pick up the VSwitch on the3rd host.
Thanks
ShiponHi,
> I created a new VM via the Failover Cluster Manager (ie not via Hyper-V manager on one of the nodes).
Generally, this issue happens if a network adapter is added or removed on a highly available virtual machine using the Hyper-V manager console. Since the Hyper-V Manager console is not cluster aware, which means that configuration changes that are made to
virtual networks or virtual machines in the Hyper-V Manager console must be replicated to the other cluster nodes by using the “refresh virtual machine configuration” option in the Failover Cluster Manager console.
I know that “refresh virtual machine configuration” option is not needed if you change virtual machine settings using the Failover Cluster Manager console, but you may try to refresh the configuration of virtual machine to check the result.
In the Failover Cluster Manager console, expand Services and Applications, and then click the virtual machine for which you want to refresh the configuration.
In the Actions pane, scroll down, click More Actions and then click Refresh virtual machine configuration.
For more information please refer to following MS articles:
Refresh the Configuration of a Virtual Machine
http://technet.microsoft.com/en-us/library/dd759135.aspx
Highly Available Virtual Machines Lose Configuration Settings after Failover in Windows Server 2008 Failover Clusters
http://support.microsoft.com/kb/2000016
Hyper-V Live Migration fails on Windows Server 2008 R2 with Event ID 12080
http://support.microsoft.com/kb/2592237
Hope this helps!
TechNet Subscriber Support
If you are
TechNet Subscription user and have any feedback on our support quality, please send your feedback
here.
Lawrence
TechNet Community Support
Maybe you are looking for
-
Package Size parameter in Partner Profile
Hello guys, I'd need your advice. We have 2 systems (SAP and Non-SAP) and we need to connect them by mean of HR-PDC interface (IDoc communication is supported). We can create new Partner Profile in SAP and we can add a few IDoc types as Inbound Param
-
Set inside a Set and powerset problem. Need help.
I've done other posts about this but I figured I'd start a new thread since I changed it so much. I understand the idea of power sets but not how it needs to be a Set inside a set and also how to get this thing to run. If anyone could show me a power
-
How to handle authroziation levels in LSMW.
Hi, How to handle authorization levels in LSMW. Please explain me step by step process. Thanks Nagendra
-
Error publish web template to broadcaster ...
Hi everybody, When i publish my web template (in WAD )in the broadcaster, i see the right display with the possibility to create a New setting. But when i launch the "Create New Setting", i have the following error: - Error evaluating information for
-
Is there a way to send a folder without zipping it first?
Is there a way to send a folder without zipping it first? YouSendIt.com has a feature that zips the folder with the contents for you. Would love to see this added if it's not there already.