The IBM Technote "How to translate the unique identifier as displayed within FileNet Enterprise Manager so that it matches what is stored in the Oracle and DB2 databases" outlines how DB2 & Oracle store guids in a byte reversed order. How can I convert them into a friendly guid?
How can I translate the FileNet ID ID in DB2/Oracle into friendly GUID?
2.1k Views Asked by Jeffrey Knight At
2
There are 2 best solutions below
Related Questions in SQL
- Can MVC.NET prevent SQL-injection at razor or controller level?
- SQL server not returning all rows
- When dealing with databases, does adding a different table when we can use a simple hash a good thing?
- Creating a parametrized field name for a SELECT clause
- Combine two rows based on common ID
- Column displays each count
- Slick query for one to optional one (zero or one) relationship
- Aggregate and count in PostgreSQL
- MAX and GROUP BY - SQL
- SQL statement for a tricky 2 table query
- How to create nested selects with sql?
- Pull and push data from and into sql databases using Excel VBA without pasting the data in Excel sheets
- Best Practice for adding columns to a Table in Oracle database
- SQL FIFO STACK using two tables
- SQL Query - Order by String (which contains number and chars)
Related Questions in ORACLE
- Column displays each count
- MAX and GROUP BY - SQL
- Best Practice for adding columns to a Table in Oracle database
- Updating an Oracle row with value from same row
- Retrieving data from Oracle database
- Ibatis execute update sql on oracle, it is not working and no exceptions
- Building an sql execution plan history
- Implementation of Rank and Dense Rank in MySQL
- how to update the date field for this specific condition using oracle query?
- Oracle stored procedure wrapping compile error with inline comments
- Android: How to connect oracle database using Android Java code?
- SQL Conditional Join on Columns
- Multi value wildcard search in ibatis
- Get count of consecutive days meeting a given criteria
- How to update the metadata of a layer in Oracle imported through FME Workbench?
Related Questions in DB2
- How to grant privileges to current user
- Drop DB2 database if exist
- DB2, Hibernate, JPA: Schema does not exist
- Can you check for a DB2 license in C#?
- DB2 Join Query that Maximizes Column
- How to access a Row Type within an Array Type in DB2 SQL PL
- IBM DB2 native encryption applied on live database
- Using an ODBC connection in Access get retrieve data from DB2
- join 2 tables and get some columns from 1st table and max timestamp value from second table
- How to connect to DB2 SQL database with node JS?
- TRANSLATE not working inside XMLAGG
- Cannot initialise HikariCP pooled connection, Failure in loading native library db2jcct2
- published reports don't work - Database logon failed Error
- 1 Working Day Back In SQL DB2
- In java with DB2 parallel process: I got Deadlock Exception :DB2 SQL Error: SQLCODE=-911, SQLSTATE=40001, SQLERRMC=2, DRIVER=3.59.81
Related Questions in GUID
- Is there a way to generate a Guid from a list of Guids?
- Guid property regenerating in WebApi POST call
- Call a msbuild task that receives a required Guid argument
- Unique Identifier for Android Device
- deserialize a list of Guid c#
- Will new Guid(byte[]) always produce a valid guid if the array is exactly 16 bytes and taken from a successfully received UDP socket?
- Can a case insensitive comparison be made on html side in AngularJS
- Can't output Guid Hashcode
- What is the default value for Guid?
- Java GUI Swing programming
- Is this a reliable way of generating a GUID?
- Cannot implicitly convert to BaseEntity<System.Guid>
- Encode and Decode Mac address from UUID using C#
- Can I use messaging system's CorrelationId as a primary key and can it be used for further communcation
- Ue4 and visual studio unrecognized guid format
Related Questions in FILENET-CONTENT-ENGINE
- How to retrieve the entire folder contents in Filenet 5.2?
- how do we debug the bulk action javascript from ACCE?
- The fastest way to fetch PropertyTemplate by symbolic name ising IBM FileNet CE API
- How to join the Document and ClassDefinition objects when using SearchSQL?
- IBM FileNet : com.filenet.api.exception.EngineRuntimeException: FNRCT0042E: TRANSPORT_WSI_NETWORK_ERROR
- How to change Filenet document MimeType using com.filenet.wcm.api
- How can I translate the FileNet ID ID in DB2/Oracle into friendly GUID?
- Getting object store properties without additional round-trip
- Getting a 403 Forbidden error on plugin request
- FileNet: TransactionRolledbackException while creating index on DB2 from FEM
- Uploading large documents to FileNet Content Engine
- Object security dynamic setting
- FileNet change document status to superseded
- FileNet P8: Add content to existing document without change ID
- FileNet ContentElement CheckOut
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
The following code does the trick in DB2, following the recipe from the IBM Technote:
The "cast as char(16)" is a gotcha - casting to varchar(16) does not work on DB2 at least.
Here's the before and after: