Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

enum/data set completion ... closes #1

  • Loading branch information...
commit 8a7ce5555ae4fd46e38b3abcc0c155c6fb76cefa 1 parent f71d399
@mfussenegger authored
Showing with 13 additions and 2 deletions.
  1. +13 −2 gen_api.py
View
15 gen_api.py
@@ -142,8 +142,19 @@ def read_write_tablefields(conn, out):
from
tttadv422000 tablefields
-order by
- convert(nvarchar, t_cpac + t_cmod + t_flno + '.' + t_fdnm)
+union
+SELECT
+ distinct
+ word = tttadv401000.t_cpac + t_cdom + '.' + t_ctnm
+ ,menu = t_desc
+from
+ tttadv401000
+ inner join tttadv140000
+ on tttadv401000.t_cpac = tttadv140000.t_cpac
+ and t_clan = 2
+ and t_clab = t_za_clab
+where
+ t_expi = 2
'''
cur = conn.cursor()
cur.execute(sql)
Please sign in to comment.
Something went wrong with that request. Please try again.