on 10-06-2010 9:13 AM
Hi all,
What is the use of SQL expression fields in crystal reports 2008? Is it similar to writing SQL queries in oracle? explain me with an example using SQL expression fields in crystal reports 2008... thanks,
--regards,
Durai.S
Jason,
Thanks for your reply. And the statement given by you was understandable and I need to concern on this a lot. So,
Could be please suggest me a document in which I can get the relevant details of SQL Expression fields with an example?
--regards,
Durai.S
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Durai,
Actually the Add Command function is more akin to "writing SQL queries in oracle". The SQL Expression fields are used to insert a new field into the select list of the SQL statement generated by CR. It's useful if you want to, for example, create a calculated field using database specific functions.
A good example... A field in the database is a text type but the data being stored in it is all dates... and you want to cast or convert the field to date field before bringing it into CR.
CAST (TextField AS DateTime) AS NewFieldName
I don't know Oracle but I'm sure there are plenty of Oracle specific functions that you wish CR had. SQL Expressions give you the opportunity to use those (as long as you're actually connected to an Oracle database of course).
HTH,
Jason
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
11 | |
11 | |
10 | |
10 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.