Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: Chao
  • Content: Threads
  • Order by date
  1. Chao

    SQL Loader

    Hi, I am importing some data into a table from a delimited text file. Unforturnately the text file contains NULL records: ID|First Name|Last Name 1|John|Smith 2|Mary|White 3|Ken|Gray My question is how can I signal to SQL Loader to ignore any null record. Thanks for your...
  2. Chao

    REF CURSOR

    Is there an approach to traverse the columns of a ref cursor to extract the column information (i.e. column name and value) in PL/SQL? I can do this with Visual Basic's recordset object. Here's VB code of what I would like to do in PL/SQL: i.e. set rs = cn.execute("select * from...
  3. Chao

    Target table contains Identity Column

    I would like to import data from a text file into a temp table in SQL Server. However, the temp table has an identity column. How can I indicate that it should automatically generate an identity value for each imported record?
  4. Chao

    How to call SQL Server stored proc?

    I have a dblink from Oracle to SQL Server. I need to be able to call a SQL Server stored procedure and pass it some parameters. Does anybody have any clue how to do this?
  5. Chao

    Oracle updating SQL Server Table

    I would like to update/insert data from Oracle to SQL Server using a Oracle stored procedure. The procedure contains an insert statement that inserts data into a SQL Server table. I run the Insert statement standalone and was able to insert the entry onto SQL Server. However, using Oracle stored...
  6. Chao

    Exec Arbitrary Stored Proc

    Hi, Here is the general scope of my issue. I need to execute an arbitrary stored procedure/function. Only the name of the procedure is available and it is the result of a lookup from a table. At this point, I do not know the arguments (argument name, in or out or the data type) the arbitrary...
  7. Chao

    Optimize Hierarchy Query???

    Hi, I would like to find out if there is another way to optimize my query or other ways I can make it run faster. The query attempts to determine the nodes in the List where the node return is the highest level in its branch within the List. The query takes around 5 minutes. Your feedback is...
  8. Chao

    ORA-06571, fn not guarantee not to update database

    Hi, I encountered the above error when attempting to call a function in a SQL statement. That called function in turn calls some other functions depending on the transaction type. According to the documentation for the error message, I need to define Pragma Restrict_Refeerences. I have...
  9. Chao

    ?Recursive Function Returning Union of Ref Cursors

    Hi, I need to produce a report for employee list, listing the subordinates of an employee in a tree structure (the hierarchy of command). The table structure is as follow, Employee_ID Work_For Emp_Name 1 0 Boss 2 1...
  10. Chao

    Store Proc - Ref Database Name that begins with a number

    Hi I get a compilation error when trying to reference a database in my stored procedure. I am suspecting that it is becasue the database name begins with a digit. Does anybody know of any other approach to reference the database that begins with a number? I tried putting single and double...
  11. Chao

    SQL Loader - Using Diff version Client and Server

    Hi, I am trying to load data using SQL*Loader 8.1.6 loading to Oracle 7.3.4. The following are the error message that I got in the log file: SQL*Loader-282: Unable to locate character set handle for character set ID (0). Does anybody have other resolution besides using compatible client and...

Part and Inventory Search

Back
Top