Skip to content

Commit d18aff9

Browse files
committed
Added SAP ASE query to the README
1 parent 368e201 commit d18aff9

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

README.md

+15
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,21 @@ WHERE
104104
AND c.table_name NOT IN ('schema_migrations', 'ar_internal_metadata')
105105
```
106106

107+
#### [SAP ASE](https://github.com/sqlhabit/sql_schema_visualizer/issues/8)
108+
109+
```sql
110+
SELECT
111+
'public' as table_schema,
112+
so.name as table_name,
113+
sc.name as column_name,
114+
sc.type as data_type,
115+
sc.colid as ordinal_position
116+
FROM syscolumns sc
117+
INNER JOIN sysobjects so
118+
ON sc.id = so.id
119+
WHERE so.type = 'U'
120+
```
121+
107122
### Step 4. Import schema
108123

109124
Now we can import tables. The argument of the `npm run import` command is your CSV file name:

0 commit comments

Comments
 (0)