?
Solved

What dialect is this?

Posted on 2014-08-14
1
Medium Priority
?
191 Views
Last Modified: 2014-08-20
Hi.

I have the following code snippet, and I can tell that it is some variant of SQL. Can anyone tell me what it is? A link to syntax rules would be great.

set list_count 0;
>>select p.last_nm, p.first_nm, f.val, f.data_create_ts,e.prim_acct_num
+>from =findng f
+>inner join =personp p on f.pat_person_num = p.num
+>inner join =encntrp e on f.pat_person_num = e.pat_person_num
+>where f.concept_descr_num = 611060
+>and f.SERV_DATA_CREATE_TS > datetime "2013-03-01:00:00:00.000" year to fraction
+>and f.val > 0 browse access;
S>
S>detail
+>
+> p.last_nm as A18 heading "Last Name",
+> p.first_nm as A14 heading "First",
+> e.prim_acct_num heading "Account" ,
+> f.val heading "Value" ;
S>list all;

Open in new window

0
Comment
Question by:mankowitz
1 Comment
 
LVL 43

Accepted Solution

by:
pcelba earned 800 total points
ID: 40261305
This is Informix SQL probably. Syntax link: http://publib.boulder.ibm.com/infocenter/idshelp/v111/index.jsp?topic=/com.ibm.sqls.doc/sqls.htm 

Hundreds of SQL engines exist so it could be almost anything but "year to fraction" is not so obvious.

It also uses some client specific formatting commands. I am unable to identify the client...
0

Featured Post

Granular recovery for Microsoft Exchange

With Veeam Explorer for Microsoft Exchange you can choose the Exchange Servers and restore points you’re interested in, and Veeam Explorer will present the contents of those mailbox stores for browsing, searching and exporting.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this blog post, we’ll look at how using thread_statistics can cause high memory usage.
Creating a Cordova application which allow user to save to/load from his Dropbox account the application database.
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
With just a little bit of  SQL and VBA, many doors open to cool things like synchronize a list box to display data relevant to other information on a form.  If you have never written code or looked at an SQL statement before, no problem! ...  give i…
Suggested Courses

862 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question