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 TouchToneTommy 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: henryz
  • Content: Threads
  • Order by date
  1. henryz

    Convert a MS-SQL function to Oracle

    Hi, I have a function in MS-SQL, but have difficulity to convert it into Oracle, can someone help please? Here is the Function: --===== Create a function to concatenate orders by customer CREATE FUNCTION dbo.ConcatOrderNum (@pCustomerID AS INT) RETURNS VARCHAR(8000) AS BEGIN DECLARE...
  2. henryz

    Using views inside the User Defined Function

    Hi, Does anybody have experience using views inside a function in Oracle? Technically it should be fine. but I had problem with the following simple view: CREATE OR REPLACE FUNCTION MetaData(Id NUMBER) RETURN VARCHAR2 AS infotypes VARCHAR2(10000); infovalue VARCHAR2(255); CURSOR...
  3. henryz

    How to count row numbers

    Hi, For example I have a simple table called Session like this: PersonID SessionNum ========== ============= 101 105 101 21 102 33 102 46 102 57 103 69 . . . . The SessionNum are unique, but in a random...
  4. henryz

    LDAP Binding User Privileges

    Hi, I try to establish a connection from a client to a LDAP server. I use a normal user as the binding user, but I get this error message "Failed to bind the LDAP server: Invalid Credentials". Are there any user right requirement for the binding user? Thanks, Henry
  5. henryz

    How to check the JVM bits ?

    Hi, I have a JVM installed on a Linux box, can someone tell, how to find if this is a 32 or 64 bits of JVM? How to check it? Where can I find/and download 64 bits 1.3.1 JRE? Thanks, Henry
  6. henryz

    Advise on an installation failure

    Hi, I try to install an application on a new Linux Box, but end up with this errors, and installation can't complete. " Launching installer... /tmp/install.dir.9819/Linux/resource/jre/bin/../bin/realpath: line 22: /tmp/install.dir.9819/Linux/r esource/jre/bin/../bin/ia64/realpath: No such file...
  7. henryz

    Tablespace for new Oracle user

    Hi, Here is a question. When I create a new user in Oracle database, I normally assign "SYSAUX" as its default Tablespace, and "TEMP" as its Temporary Tablespace. Is it a good practice? Any performance effect? are there any ground rules when assigning Tablespaces to new users? Thanks, Henry
  8. henryz

    substitute the <CR><LF> with the string '<BR>' in Clob data co

    Hi, I have a table in Oracle 8i, with a clob column. Now I want to execute a query like the following: REPLACE(<clob_column>, CHR(13)||CHR(11), '<BR>') But I receive an error complain with "Inconsistent datatype". Can anybody suggest a workaround for this please? We need this very urgent...
  9. henryz

    How to slice the result set by row number in SQL 7.0

    Hi, Is it possible to slice the result set by row number in SQL 7.0 ? I know in Oracle, there is a keyword called &quot;ROWNUM&quot; which can easily slice the result by specifying a fixed number of returned rows. How can we do this in SQL 7.0? Thanks Henry
  10. henryz

    how to find every node's level in a tree structure using SQL query

    Hello everyone, I have a table like this: CREATE TABLE Items ( childCode VARCHAR(25) NOT NULL UNIQUE, parentCode VARCHAR(25) NULL, itemName VARCHAR(25) NOT NULL, ID INT NOT NULL PRIMARY KEY, ) Items =============================== parentCode childCode itemName...
  11. henryz

    how to find node level in a tree structure using SQL query

    Hello everyone, I have a table like this: CREATE TABLE Items ( childCode VARCHAR(25) NOT NULL UNIQUE, parentCode VARCHAR(25) NULL, itemName VARCHAR(25) NOT NULL, ID INT NOT NULL PRIMARY KEY, ) Items =============================== parentCode childCode itemName...
  12. henryz

    find level for every node in tree structure

    Hello everyone, I have a table like this: CREATE TABLE Items ( childCode VARCHAR(25) NOT NULL UNIQUE, parentCode VARCHAR(25) NULL, itemName VARCHAR(25) NOT NULL, ID INT NOT NULL PRIMARY KEY, ) Items ========================================== parentCode childCode...
  13. henryz

    replace double quote by single quote

    Hello Everybody, I have a funny experience. In a case I want to replace all double quotes in my data content by single quotes. I use function like this: Function StrQuoteReplace(strValue) // Replace any double quote in strValue with one single quote. // The second argument to Replace...
  14. henryz

    How to embed one xmldom object to a node of another xmldom objec

    Hello everyone, I have some problem in loading an xmldom object to another node of an xmldom object. I can load the html content into an xmldom object, such as HTMLDOM. But I am not sure how to append the HTMLDOM to one specific node of my original xmldom object. My code is something like the...
  15. henryz

    Help with HTML inside an XML and transform using XSL, please!

    Hello everybody, I use the same examples RGeo posted at 27 Aug. I encounter exactly the same problem with her. Suggestions and tips are most welcome at this stage. This xml generated from ASP with values (in html format) from a database (SQL server) as follows: <?xml...

Part and Inventory Search

Back
Top