Helpful SQL Syntax for e-Work
The information in this article applies to product: e-Work 5.x 6.x
Sample SQL
Incorrect: %ExecSQL("INSERT INTO CMSearchResults (efolderid,BatchID,ci\_searchid,ci\_sindex) VALUES (%FolderID,%BatchNumber,%txtci\_searchid,(SELECT ci\_sindex FROM ci\_searchdetail WHERE (ci\_searchid = %txtci\_searchid)))")
Correct: %ExecSQL("INSERT INTO CMSearchResults (efolderid,BatchID,ci\_searchid,ci\_sindex) SELECT '%FolderID','%BatchNumber','%txtci\_searchid', ci\_sindex FROM ci\_searchdetail WHERE (ci\_searchid = %txtci\_searchid)")
Tagged:
0
Categories
- All Categories
- 123 Developer Announcements
- 54 Articles
- 150 General Questions
- 148 Thrust Services
- 57 OpenText Hackathon
- 37 Developer Tools
- 20.6K Analytics
- 4.2K AppWorks
- 9K Extended ECM
- 918 Core Messaging
- 84 Digital Asset Management
- 9.4K Documentum
- 32 eDOCS
- 186 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
- 8 XM Fax
- Follow Categories