on 2013 Jun 26 5:09 PM
SQL Anywhere ISQL 16.0.0.1512 works pretty well with HANA SPS5, and even has a Tools - Options... - SAP HANA section, but "Results processing - When executing batches: Show results from each statement" doesn't seem to work.
Once upon a time, you had to code BEGIN END to get this to work with a SQL Anywhere database, but that Dead Chicken doesn't seem to work with HANA... any ideas?
The problem is that you (Breck) connected using a DSN, which uses ODBC, which does not go through the usual HANA support in DBISQL. With the command line cited, it's as if you selected "Generic ODBC" in the "Connect" dialog, rather than "SAP HANA".
You really want to use "-hana" and "-c" on the command line, as Mark cited above.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Wow, thanks, I ... absolutely ... did ... not ... notice the "-hana"... so much for old age reading comprehension 🙂
The funny part? Normally I don't use a DSN with dbisql, but in this case there was a lot of MobiLink stuff going on so the DSN was used to prove that the DSN worked.
The strange part? I have been lectured before about SQL Anywhere and ODBC, that ODBC is in effect the "native mode" for connecting, and how dbisql always uses ODBC even if there's no DSN. I guess that doesn't apply to HANA.
The contentious part? In the trenches, HANA is very new, even for SAP folks... so there is no such thing as "the usual" when it comes to HANA support 🙂
Anyway, you answered the real question (the Aero problem was just the frosting on the frustration cake 🙂
Hi Breck,
I'm not sure why this isn't working for you -- it seems to be okay for myself with the same Interactive SQL version. I'm using SAP HANA 1.00.58.378715 (which should be SPS5, Rev 58):
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
How do I query the HANA version?
I think I'm using Version SPS5, Revision 48... I'm using the CloudShare trial, and this page says "48": http://scn.sap.com/community/developer-center/hana
I used this:
dbisql -hana -c "user=system;password=systempass;host=hana-host:30015"
How are you getting a radically different GUI? The ISQL "Execute" menu icon looks different, for example.
My text looks a little odd because I changed my system's codepage for some internationalization testing. The execute button is switched for me, since I generally prefer to only ever run selected text for testing (as shown above). (This is switched via: Tools -> Options -> Toolbar -> (*) Execute selection)
I originally pulled it out of the SAP HANA Studio console - Right-click on the SAP HANA system, Properties, Version History
After looking around a bit more though, you can also select it directly out of the system views:
SELECT version FROM SYS.M_DATABASE; VERSION -------------------------------- 1.00.58.378715 (1 rows) Execution time: 0 seconds
There's also 'M_DATABASE_HISTORY' to see the upgrade patches over time (similar to SYS.SYSHISTORY in SA).
Here is the answer to "How are you getting a radically different GUI?"... Jeff is probably NOT using an HP Envy laptop with the sassenfrassenfrickenfracken "Stardock Mycolors" bloatware installed, which (apparently) disables Windows Aero. After uninstalling Stardock, and recovering from the shock, all is well 🙂
User | Count |
---|---|
62 | |
10 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.