Problem loading table in SQL server

Hello

I'm trying to load a table in SQL server from another instance of SQL server.

I defined the physical and and stores of data, logical and reverse engineered models to retrieve tables.

The target table has been created manually...

If I try to launch the interface I get the fololowing error


ODI-1227: SrcSet0 (load) task fails on the source of connection MICROSOFT_SQL_SERVER data WAREHOUSE.
Caused by: java.sql.SQLException: incorrect syntax [FMWGEN] [SQLServer JDBC Driver] [SQL Server] about ' < '.
at weblogic.jdbc.sqlserverbase.ddb_.b (unknown Source)
at weblogic.jdbc.sqlserverbase.ddb_.a (unknown Source)
at weblogic.jdbc.sqlserverbase.ddb9.b (unknown Source)
at weblogic.jdbc.sqlserverbase.ddb9.a (unknown Source)
at weblogic.jdbc.sqlserver.tds.ddr.v (unknown Source)
at weblogic.jdbc.sqlserver.tds.ddr.a (unknown Source)
at weblogic.jdbc.sqlserver.tds.ddq.a (unknown Source)
at weblogic.jdbc.sqlserver.tds.ddr.a (unknown Source)
at weblogic.jdbc.sqlserver.ddj.m (unknown Source)
at weblogic.jdbc.sqlserverbase.ddel.e (unknown Source)
at weblogic.jdbc.sqlserverbase.ddel.a (unknown Source)
at weblogic.jdbc.sqlserverbase.ddde.a (unknown Source)
at weblogic.jdbc.sqlserverbase.ddel.v (unknown Source)
at weblogic.jdbc.sqlserverbase.ddel.r (unknown Source)
at weblogic.jdbc.sqlserverbase.ddde.execute (unknown Source)
at oracle.odi.runtime.agent.execution.sql.SQLCommand.execute(SQLCommand.java:163)
at oracle.odi.runtime.agent.execution.sql.SQLExecutor.execute(SQLExecutor.java:102)
at oracle.odi.runtime.agent.execution.sql.SQLExecutor.execute(SQLExecutor.java:1)
at oracle.odi.runtime.agent.execution.TaskExecutionHandler.handleTask(TaskExecutionHandler.java:50)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.processTask(SnpSessTaskSql.java:2913)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2625)
at com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:558)
at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:464)
at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:2093)
to oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$ 2.doAction(StartSessRequestProcessor.java:366)
at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:216)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:300)
to oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$ 0 (StartSessRequestProcessor.java:292)
to oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$ StartSessTask.doExecute (StartSessRequestProcessor.java:855)
at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:126)
to oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$ 2.run(DefaultAgentTaskExecutor.java:82)
at java.lang.Thread.run(Thread.java:662)

He tries to run the following SQl and I don't know why she strives to drop and create a view in the source system? The interface that I do turn above has only one source of target mapping...

Delete the < Undefined > view. SQLDATAWH_DATAWAREHOUSEAccountDim

Indications will be useful...

Thanks in advance...

Whirlpool says:
Can you please let me know the name of the lkm and ikm which must be selected for SQL SERVER to SQL SERVER.

You can see this
http://docs.Oracle.com/CD/E23943_01/integrate.1111/e12644/ms_sqlserver.htm#BGBJBGCC

Tags: Business Intelligence

Similar Questions

  • Why odi creates datetime2 (27) type of data and because of create table in sql server 2012 is a failure

    Hey

    I had a situation in the present case, I flat file and I want to load it into sql server 2012.

    In the flatfile I have 2 data types of columns date and I chose LKM FILE TO SQL, when I try to run it fails to create the work table.

    When I c the code in this step it shows

    create the table dev.dbo.C$ _0TES

    (

    ASN_BOL_NBR NUMERIC (7,0) NULL,

    ASN_CARTON NUMERIC (20.0) NULL,

    ASN_SHORT_SKU NUMERIC (7,0) NULL,

    ASN_SKU_CHECK_DIGIT NUMERIC (1.0) NULL,

    ASN_DESC VARCHAR (25) NULL,

    ASN_QUANTITY NUMERIC (7,0) NULL,

    ASN_LEAVE_DATE DATETIME2 (27) NULL,

    ASN_ARRIVAL_DATE DATETIME2 (27) NULL,

    ASN_MULT_PACK VARCHAR (1) NULL,

    ASN_MULT_SKU VARCHAR (1) NULL

    )

    MSG 1002, level 15, State 1, line 9

    Line 9: Specified scale 27 is not valid.

    DATETIME2 (27) the table of creative work is a failure because of the type of data

    ASN_LEAVE_DATE DATETIME2 (27)

    ASN_ARRIVAL_DATE DATETIME2 (27)

    Is there a way to avoid a DATETIME2 (27)?

    Thank you!

    Yes, I would certainly put the data on the source of the string type.

    Then in your mapping/interface, you can use the CONVERT function.

    For example, CONVERT (DATETIME, YOUR.) ASN_LEAVE_DATE, 101)

    In this example, 101 as a style means that your file contains a date in the format dd/mm/yyyy.

    See CAST and CONVERT (Transact-SQL) to find out what style you apply.

    Kind regards

    JeromeFr

  • Loading data to SQL server for the Oracle database

    I want to create a table in oracle db table in sql server. Table is huge that he has obtained the documents 97,456,789.
    I created the link (HS) db in the oracle database that points to the sql server. I choose this oracle db on the link table.

    Select * from 'dbo '. "T1@dblink;

    I shot below to create the table.
    create table t2 nologging parallel (degree = 3) as select * from 'dbo '. "T1@dblink;
    and its taking a long time... but its operation...

    is there any other method to do this and and fill the table in oracle db faster.

    Please notify. Thank you.

    vhiware wrote:
    create table t2 nologging parallel (degree = 3) as select * from 'dbo '. "T1@dblink;
    and its taking a long time... but its operation...

    I doubt that parallel processing will be used because it is unique to Oracle (using rowid varies in general) and not SQL-Server.

    is there any other method to do this and and fill the table in oracle db faster.

    Part of the performance overhead is to pull that data from SQL Server to Oracle in the whole of the liaison network between them. This can be accelerated by compressing the data first - and who then transfer them over the network.

    For example: using + bcp + to export the data in the SQL Server box to a CSV file, compress/zip file, scp/sftp file Oracle and then to unzip there. In parallel and direct treatment of load can now be done using SQL * Loader to load the CSV file into Oracle.

    If it is a basic Linux/Unix system, the process of decompression/unzip can be run in parallel with the SQL * process Loader by creating a pipe between the two – where the decompression process writes data uncompressed in the pipe and SQL * Loader reads and loads the data that is available through the pipe.

    Otherwise you are PQ own transformation. Assume that the data is date varies. You can create a procedure on Oracle that looks like this:
    {code}
    create or replace procedure as copyday (day) is
    Start
    Insert / * + append * / into local_tab select * from remote_tab@remotedb where col_day = day;
    -Add logging info, validation, etc.
    end;
    {code}

    You can now start 10 or more of these different days and run it in the background using DBMS_JOB.

  • How to combine the 2 tables in sql server 2008?

    Tell me how to combine 2 tables in sql server. and give me an example, I am a beginner again.

    You can get a faster or better response if you ask one of the instances of SQL Server dedicated from Microsoft here:

    http://social.technet.microsoft.com/Forums/en-us/category/sqlserver .

    (I'm sorry, but I can't move this thread for you because the two forums are working on separate platforms)

  • The loading table Microsoft Sql serer flat file problem data

    Hi Experts,

    I am trying to load the data from the SQL Server table to the flat file but its errror on.

    I selected the staging of different shape area Targert (I use SQL Server as my sleeping area)
    Knowlegde modue used: IKM SQL to the file Append

    I have the following error reciee
    ODI-1217: Session table to file (124001) fails with return code 7000.
    ODI-1226: step table to file fails after 1 attempt.
    ODI-1240: flow of file fails during an operation of integration. This flow of charge table test target.
    ODI-1227: task table to file (integration) fails on the source of connection MICROSOFT_SQL_SERVER POS_XSTORE.
    Caused by: java.sql.SQLException: could not read file header lines
    to com.sunopsis.jdbc.driver.file.FileResultSet. < init > (FileResultSet.java:164)


    Help, please!

    Thank you
    Prateek

    Hello

    Have you made sure that the CSV file is readable by ODI? What I usually do is to create a CSV file example target with values in it. Once you create the model, right-click and view the data.

    HTH,
    Gerd

  • Problem loading data for Planning Server through ODI

    Hi all

    I am facing problem while loading data for Planning Server through ODI.
    I created the interface with flat as a source of data as file below

    Location data load Cube name POV cost per seat
    Ctbn_PnL of Tidel Equifax, Budget, Working_2010, FY10, Wk1, Local 333
    Ctbn_PnL of Tidel Equifax, Budget, Working_2010, FY10, Wk2, Local 444
    Ctbn_PnL of Tidel Equifax, Budget, Working_2010, FY10, Wk3, 555 Local
    Ctbn_PnL of Tidel Equifax, Budget, Working_2010, FY10, Wk4, Local 666
    Budget, Working_2010, FY10, Wk5, Tidel Equifax, Local 777 Ctbn_PnL
    Ctbn_PnL of Tidel Equifax, Budget, Working_2010, FY10, Wk6, Local 888
    Budget, Working_2010, FY10, Wk1, PADI Ctbn_PnL Equifax, Local 222
    Budget, Working_2010, FY10, Wk2, PADI Ctbn_PnL Equifax, Local 111
    Budget, Working_2010, FY10, Wk3, PADI Ctbn_PnL Equifax, room 345
    Budget, Working_2010, FY10, Wk4, PADI Ctbn_PnL Equifax, Local 346
    Budget, Working_2010, FY10, Wk5, PADI Ctbn_PnL Equifax, Local 347
    Budget, Working_2010, FY10, Wk6, PADI Ctbn_PnL Equifax, Local 349

    And the target as an application of Planinng. Interface has been properly executed, but are not filled with data in the form of Plannning or Essbase.
    I obtained the information in the log file after running the interface:

    2010-05-20 18:45:38, 409 [DwgCmdExecutionThread:null:5] INFO: Oracle Data Integrator adapter for Hyperion Planning - free 9.3.1.1
    2010-05-20 18:45:38, 409 INFO [DwgCmdExecutionThread:null:5]: connection for application [PnL_ODI] [chnveltss03]: [11333] using [admin] username.
    2010-05-20 18:45:39, 800 [DwgCmdExecutionThread:null:5] INFO: successfully connected to the planning application.
    2010-05-20 18:45:39, 800 INFO [DwgCmdExecutionThread:null:5]: loading for the charge of planning options
    Name of the dimension: location like Parent child: false
    Order By entry charge: forgery
    Update the database: true
    2010-05-20 18:45:39, 815 INFO [DwgCmdExecutionThread:null:5]: beginning of the loading process.
    2010-05-20 18:45:39, 815 DEBUG [DwgCmdExecutionThread:null:5]: number of columns in the result set of source does not match the number of columns planning targets.
    2010-05-20 18:45:39, 831 [DwgCmdExecutionThread:null:5] INFO: type of load is a [member of the load dimension].
    2010-05-20 18:45:39, 831 [DwgCmdExecutionThread:null:5] ERROR: file [[Tidel, null, null, null, null, null, null, null, null, null, null, null, Ctbn_PnL, Budget, null, "Equifax, null, null, null]] has been rejected by Planning Server.
    2010-05-20 18:45:39, 831 [DwgCmdExecutionThread:null:5] ERROR: file [[Tidel, null, null, null, null, null, null, null, null, null, null, null, Ctbn_PnL, Budget, null, "Equifax, null, null, null]] has been rejected by Planning Server.
    2010-05-20 18:45:39, 847 [DwgCmdExecutionThread:null:5] ERROR: file [[Tidel, null, null, null, null, null, null, null, null, null, null, null, Ctbn_PnL, Budget, null, "Equifax, null, null, null]] has been rejected by Planning Server.
    2010-05-20 18:45:39, 847 [DwgCmdExecutionThread:null:5] ERROR: file [[Tidel, null, null, null, null, null, null, null, null, null, null, null, Ctbn_PnL, Budget, null, "Equifax, null, null, null]] has been rejected by Planning Server.
    2010-05-20 18:45:39, 847 [DwgCmdExecutionThread:null:5] ERROR: file [[Tidel, null, null, null, null, null, null, null, null, null, null, null, Ctbn_PnL, Budget, null, "Equifax, null, null, null]] has been rejected by Planning Server.
    2010-05-20 18:45:39, 847 [DwgCmdExecutionThread:null:5] ERROR: file [[Tidel, null, null, null, null, null, null, null, null, null, null, null, Ctbn_PnL, Budget, null, "Equifax, null, null, null]] has been rejected by Planning Server.
    2010-05-20 18:45:39, 847 [DwgCmdExecutionThread:null:5] ERROR: file [[Padi, null, null, null, null, null, null, null, null, null, null, null, Ctbn_PnL, Budget, null, "Equifax, null, null, null]] has been rejected by Planning Server.
    2010-05-20 18:45:39, 862 ERROR [DwgCmdExecutionThread:null:5]: file [[Padi, null, null, null, null, null, null, null, null, null, null, null, Ctbn_PnL, Budget, null, "Equifax, null, null, null]] has been rejected by Planning Server.
    2010-05-20 18:45:39, 862 ERROR [DwgCmdExecutionThread:null:5]: file [[Padi, null, null, null, null, null, null, null, null, null, null, null, Ctbn_PnL, Budget, null, "Equifax, null, null, null]] has been rejected by Planning Server.
    2010-05-20 18:45:39, 862 ERROR [DwgCmdExecutionThread:null:5]: file [[Padi, null, null, null, null, null, null, null, null, null, null, null, Ctbn_PnL, Budget, null, "Equifax, null, null, null]] has been rejected by Planning Server.
    2010-05-20 18:45:39, 862 ERROR [DwgCmdExecutionThread:null:5]: file [[Padi, null, null, null, null, null, null, null, null, null, null, null, Ctbn_PnL, Budget, null, "Equifax, null, null, null]] has been rejected by Planning Server.
    2010-05-20 18:45:39, 862 ERROR [DwgCmdExecutionThread:null:5]: file [[Padi, null, null, null, null, null, null, null, null, null, null, null, Ctbn_PnL, Budget, null, "Equifax, null, null, null]] has been rejected by Planning Server.
    2010-05-20 18:45:39, 878 [DwgCmdExecutionThread:null:5] ERROR: Record [[null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null]] has been rejected by Planning Server.
    2010-05-20 18:45:39, 878 [DwgCmdExecutionThread:null:5] INFO: planing cube refresh initiated.
    2010-05-20 18:45:44, 284 INFO [DwgCmdExecutionThread:null:5]: planning of the cube refresh operation completed successfully.
    2010-05-20 18:45:44, 284 INFO [DwgCmdExecutionThread:null:5]: load the process is complete.


    Please help me in this grace,
    Srinivas

    You are right. The table that you have described is in the format 'Generation' (the highest to the lowest level of the hierarchy). The KM of planning requires data to load in format "Parent/child". You must create multiple interfaces (one for each pair of generation) or use a view to make the transformation.

    While a view seems to be the easier choice, note that ODI will not be able to perform any analysis of lineage of data on the integration process.

    Hope this helps,
    Matt

  • Problem with the microsoft SQL server installation 2016

    When I'm tryig to install MICROSOFT SQL SERVER MANAGEMENT STUDIO 2016 his watch an error like

    [8:21 TO 8 19(D)] [2015 12-14 T 13: 46:06] e000: MainViewModel.OnBundleAction: Bundle action failed

    What to do to solve this problem. ?

    Hello

    Your question is beyond the scope of this community.

    Please repost your question in the SQL Server TechNet Forums.

    https://social.technet.Microsoft.com/forums/SQLServer/en-us/home?category=SQLServer

    See you soon.

  • E$ Table in SQL Server - creating questions

    Hi all

    After a successful of an ETL SCD Type2, run the table of $ E is made in SQL Server but it is not removed after the race even when it is successful, the second time I run it, it causes a failure because of this, how automatically delete after a successful run, I understand the being there after a failure error table , so we investigate on the cause and then manually remove it. IS tehre a way to remove automatically after a successful run.

    Thanks for your time and your help.

    E$ table is created by CKM? for example: DROP_ERROR_TABLE option in CKM. Oracle, the default value is false, change it to true.

    even the E$ come from LKM, IKM or, you can write a step yourself in your KM to remove E$ at the beginning of a journey

  • Problem loading swfs to the server group.

    Hi all

    I have a SWF that has dependent files, and it does not load on the server so that it plays. It plays on my computer when I click on the index.html file that accompanies the swf file that I want to play, but not when I load it on the server for my web site.

    The file I was sent to load on the server includes

    a subfolder with the swf file that I need to play, but also

    an index.html file,

    a file menu.swf

    a file debug.swf

    a file exit.swf and

    an AC_RunActive Content.js file.

    Everything on the site, no matter what path I'm going to get there, loading appears a white screen. The files are there on the server, I can see them, and the size of the file is the same as on my local machine, so I think they have loaded correctly, they just don't play. The closest I've seen is when I make the path to the menu, but a progress bar appears for the menu and he never finishes loading.

    I don't do flash files myself, so I don't even think that I have the vocabulary to ask the right questions. Y at - there a name for this kind of grouping of files (as described above)?  How can I load it on the server so that it plays?

    I work in a Dreamweaver site. I don't know if the problem is how I do the path in Dreamweaver or how I'm loading the files on the server... or something else. I tried to ask this question in the Adobe Flash forum and they sent me here.

    Help!

    P.S. I have other .swf online files that work very well, but these are independent files that have all of these files are associated with them.

    The link in question is the BCBS button on this page

    http://skillbridgetraining.com/custom-training-Temp2.shtml

    Thanks in advance for your help.

    Too bad! It was a problem of capitalization in the code. Apparently, the one who built this ravises thing halfway through and had the menu in the Menu somewhere.

  • Problem loading xml using sql loader file

    I am trying to load data into the table test_xml (xmldata XMLType)

    I have an xml file and I want any file to load in a single column

    When I use the following control file and run from the command-line as follows
    sqlldr $1@$TWO_TASK direct control=$XXTOP/bin/LOAD_XML.ctl = true; :

    DOWNLOAD THE DATA
    INFILE *.
    TRUNCATE INTO TABLE test_xml
    XmlType (XMLDATA)
    FIELDS
    (
    tank fill ext_fname (100),
    XMLDATA LOBFILE (ext_fname) COMPLETED BY expressions of folklore
    )
    START DATA
    U01/appl/apps/apps_st/appl/XXTop/12.0.0/bin/file. XML

    the file is loaded in the table perfectly.

    Unfortunately I can't hard-code the name of file as file name will be changed dynamically.

    so I removed the block

    START DATA
    U01/appl/apps/apps_st/appl/XXTop/12.0.0/bin/file. XML

    control file and tried to run by giving the following command line path

    sqlldr $1@$TWO_TASK control=$XXTOP/bin/LOAD_XML.ctl direct data=/u01/APPL/apps/apps_st/appl/xxtop/12.0.0/bin/file.xml = true;

    But strangely it attempts to load each line of the xml file in the table instead of the whole file

    Please find the log of the program with the error

    ------------------------------------------------------------------
    Loading XML through SQL * Loader begins
    ------------------------------------------------------------------
    SQL * Loader-502: cannot open the data file ' <? XML version = "1.0"? > ' table field TEST_XML XMLDATA
    SQL * Loader-553: file not found
    SQL * Loader-509: System error: no such file or directory
    SQL * Loader-502: cannot open the data file '< root >' XMLDATA field table TEST_XML
    SQL * Loader-553: file not found
    SQL * Loader-509: System error: no such file or directory
    SQL * Loader-502: cannot open the data file '< ScriptFileType >' field XMLDATA table TEST_XML
    SQL * Loader-553: file not found
    SQL * Loader-509: System error: no such file or directory
    SQL * Loader-502: cannot open the data file ' < Type > forms < / Type > ' table field TEST_XML XMLDATA
    SQL * Loader-553: file not found
    SQL * Loader-509: System error: no such file or directory
    SQL * Loader-502: cannot open the data file ' < / ScriptFileType > ' table field TEST_XML XMLDATA
    SQL * Loader-553: file not found
    SQL * Loader-509: System error: no such file or directory
    SQL * Loader-502: cannot open the data file '< ScriptFileType >' field XMLDATA table TEST_XML
    SQL * Loader-553: file not found
    SQL * Loader-509: System error: no such file or directory
    SQL * Loader-502: cannot open the data file ' < Type > PLL < / Type > ' table field TEST_XML XMLDATA
    SQL * Loader-553: file not found
    SQL * Loader-509: System error: no such file or directory
    SQL * Loader-502: cannot open the data file ' < / ScriptFileType > ' table field TEST_XML XMLDATA
    SQL * Loader-553: file not found
    SQL * Loader-509: System error: no such file or directory
    SQL * Loader-502: cannot open the data file '< ScriptFileType >' field XMLDATA table TEST_XML

    Please help me how can I load full xml in a single column using command line without Hardcoding in the control file

    Published by: 907010 on January 10, 2012 02:24

    But strangely it attempts to load each line of the xml file in the table instead of the whole file

    Nothing strange, that the data parameter specifies the file containing the data to load.
    If you use the name of the XML here, the control file will try to interpret each line of XML as being separate ways.

    The traditional approach this is to have the name of the file stored in another file, say filelist.txt and use, for example:

    echo "/u01/APPL/apps/apps_st/appl/xxtop/12.0.0/bin/file.xml" > filelist.txt
    sqlldr $1@$TWO_TASK control=$XXTOP/bin/LOAD_XML.ctl data=filelist.txt direct=true;
    
  • With the help of Oracle heterogeneous access table to sql server database services

    I created a dblink "POC_HS" of oracle to sql (heterogeneous services implemented) and I can't go out data from the default database to which the DSN (for sql server) is connected successfully.

    So, this ' select * from ' Test@POC_HS is works perfectly well on the Oracle database as 'Test' table resides in the default database (that the system DSN is connected to).

    But when I do ' select * Abc.Test@POC_HS' where the Test table resides in the 'ABC' database which is not the default survey database an error as follows:

    ORA-00942: table or view does not exist the name of incorrect [generic object using ODBC Connectivity] [Microsoft] [ODBC SQL Server driver] [SQL Server] 'Abc.Test '. [Microsoft] [ODBC SQL Server driver] [SQL Server] Instructions could not be prepared. (SQL State: S0002;) SQL code: 208)

    I also tried "select * from Abc.dbo.Test@POC_HS' but oracle throws this exception" ORA-00933: not correctly completed SQL command "."

    The dblink and system DSN user account has access to database 'Abc '.

    Thoughts?

    No, this is not possible.

  • Error when tring to reverse the source table in SQL Server

    Hello

    When I try to reverse using the custom template that overturned, throws me an error

    com.microsoft.sqlserver.jdbc.SQLServerException: TCP/IP connection to host failed. java.net.UnknownHostException:
    com.microsoft.sqlserver.jdbc.SQLServerException: TCP/IP connection to host failed. java.net.UnknownHostException:
    at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDriverError (unknown Source)
    at com.microsoft.sqlserver.jdbc.SQLServerConnection.connectHelper (unknown Source)
    at com.microsoft.sqlserver.jdbc.SQLServerConnection.loginWithoutFailover (unknown Source)
    at com.microsoft.sqlserver.jdbc.SQLServerConnection.connect (unknown Source)
    at com.microsoft.sqlserver.jdbc.SQLServerDriver.connect (unknown Source)
    at com.sunopsis.sql.SnpsConnection.u (SnpsConnection.java)
    at com.sunopsis.sql.SnpsConnection.c (SnpsConnection.java)
    at com.sunopsis.sql.i.run (i.java)

    Any help is appreciated

    Thank you
    ADI

    Hello Adi,

    Please verify that the TCP /IP is right for the port you are trying to connect (1433 by default)
    What Version of SQL Server that you are using?

    Kind regards
    Pascale of M

  • Problem loading, Table or view does not exist. TIF file in georaster obj.

    Hi all

    My problem is the following:
    I am trying to load pictures, int a georaster. I'm following the instructions of Oracle Spatial Georaster (11g Release 1) Developer's guide, section 3 (GeoRaster operations).

    in step 3.3 (loading of raster data), I use the SDO_GEOR.importFrom procedure to load the images. This section links you at the end of the document, where it is said:
    "To load GeoTIFF images with the SDO_GEOR.importFrom procedure, you will need.
    xtiff - jai.jar and geotiff libraries - jai.jar. For more information on
    GeoTIFF libraries, see Section 3.5. »

    I downloaded both the jar, copied to the $ORACLE_HOME/lib and also modified the sdoldgtf.sql, now it contains correct paths:
    "SET ECHO ON.
    SET COMMENTS 1
    NUMLARGEUR SET 10
    SET LINESIZE 80
    SET TRIMSPOOL ON
    TRIGGER TAB
    SET PAGESIZE 100

    -Note to the user: replace ' / full/path/to/gtflibs / "by the actual location of the geotiff files - jai.jar and xtiff - jai.jar.

    ALTER session set current_schema = SYS;
    Call dbms_java.grant_permission ('SYSTEM', 'java.io.FilePermission',
    "< < all FILES > >', 'read');
    Call dbms_java.grant_permission ('MDSYS', 'SYS:java.io.FilePermission',
    opt/Oracle/product/11.2.0/dbhome_1/lib/*', 'read');
    Call dbms_java.loadjava ('- resolve - force - synonym-schema MDSYS-grant PUBLIC opt/oracle/product/11.2.0/dbhome_1/lib/xtiff-jai.jar');

    Call dbms_java.loadjava ('- resolve - force - synonym-schema MDSYS-grant PUBLIC opt/oracle/product/11.2.0/dbhome_1/lib/geotiff-jai.jar');

    Call dbms_java.revoke_permission ('SYSTEM', 'java.io.FilePermission',
    "< < all FILES > >', 'read');
    Call dbms_java.revoke_permission ('MDSYS', 'SYS:java.io.FilePermission',
    opt/Oracle/product/11.2.0/dbhome_1/lib/*', 'read');
    commit;
    ALTER session set current_schema = MDSYS; »

    I created a table of raster and one RTD too. After that I did the initialization. creation scripts and insert:

    CREATE TABLE geoimages (NUMBER, image_description VARCHAR2 (50), image SDO_GEORASTER image_id.);

    CREATE TABLE geoimages_rdt OF SDO_RASTER (PRIMARY KEY (rasterID, pyramidLevel, bandBlockNumber, rowBlockNumber, columnBlockNumber))
    TABLESPACE GIS
    LOB (rasterBlock) STORE AS lobseg
    (
    CHUNK 32768
    SUCCESSFUL READS OF THE CACHE
    PCTVERSION 0
    STORAGE (PCTINCREASE 0)
    );

    INSERT INTO geoimages (image_id, image)
    VALUES (1, sdo_geor.init ('RDT_1'));

    MY PROBLEM:
    -----------------
    After what I've done, I try to run this sub form script, on behalf of the GIS, which is a pattern and a user:

    "BEGIN".
    DECLARE
    Geor SDO_GEORASTER;
    BEGIN
    SELECT the picture IN Armenia FROM geoimages WHERE image_id = 1 FOR UPDATE;
    sdo_geor.importFrom (view, NULL, 'TIFF', 'file', ' / home/zsolti/ortofoto_100601.tiff');
    UPDATE geoimages SET image is geor WHERE image_id = 1;.
    COMMIT;
    END;
    END;
    /"

    I also created the tables on behalf of "GIS".

    Could someone tell me why I got this error when I try to run the above script?
    Error:

    SQL > @script1.sql
    BEGIN
    *
    ERROR on line 1:
    ORA-13464: error loading of GeoRaster data: ORA-00942: table or view does not
    There are
    ORA-06512: at the 'MDSYS. MD", line 1723
    ORA-06512: at the 'MDSYS. MDERR", line 17
    ORA-06512: at the 'MDSYS. SDO_GEOR', line of 5539
    ORA-06512: at line 6

    Thanks a lot for any advice,

    Zsolti

    I think that your RTD names are not the same.

    CREATE TABLE geoimages_rdt OF SDO_RASTER (PRIMARY KEY (rasterID, pyramidLevel, bandBlockNumber, rowBlockNumber, columnBlockNumber))
    TABLESPACE GIS
    LOB (rasterBlock) STORE AS lobseg
    (
    CHUNK 32768
    SUCCESSFUL READS OF THE CACHE
    PCTVERSION 0
    STORAGE (PCTINCREASE 0)
    );

    INSERT INTO geoimages (image_id, image)
    VALUES (1, sdo_geor.init (* "RDT_1" *));

    Uwe

  • The parameter is incorrect in the creation of tables in SQL SERVER 2012

    I get a message box with the statement "the parameter is incorrect." No other information is available to help isolate the cause of this error. (that is, stack trace)... When I modify or create a sqlserver2012 table, this error is still pop up... can u help me to solve the problems there? badly need for my thesis...

    Hello

    The question you posted would be better suited to the Technet community. Please visit the link below to find a community that will provide the best support.

    http://social.technet.Microsoft.com/forums/en-us/category/SQLServer

  • Loading a SQL Server table

    Hi all
    I develop a right source - target interface table of sql server in a sql server table. When executing the interface, I get an error - message
    "Cannot insert an explicit value for identity in the 'xxx' table column when IDENTITY_INSERT is set to OFF."

    After investigation, it appears that I need to run-

    SET IDENTITY_INSERT ON of xxx
    GO

    This performance is specific session, that is to say, I have to run this statement every time ODI inserts into the target table. Is it possible that I can have the tool run this statement?

    TIA


    MN


    Version of the ODI - 11 g
    Source - SQL Server 2008 R2
    Target - SQL Server 2008 R2

    Not exactly the IKM XML, but change in the designer required used IKM.

    for security reason provide a duplication of your IKM (right-click - duplicate) and to make the necessary changes to this copy, so that, even if something goes wrong. you will not alter the original.

    hope that I have answered your question.

Maybe you are looking for