Comments (5)
@kodaicoder @wqweto
We have just released version 0.6
, and this error has been fixed. Can you please try again?
from dataflare.
It does work ok now!
Btw, on browsing tables the arrow in the cells for following foreign key is a nice touch :-))
from dataflare.
@kodaicoder Thanks.
Dataflare gets the schema and table through this SQL, what is certain is that the problem comes from this piece of SQL, maybe a compatibility issue, I'll look into it.
SELECT
c.schema_name,
t.table_name
FROM
information_schema.schemata as c
LEFT JOIN information_schema.tables as t ON
t.TABLE_TYPE = 'BASE TABLE' AND
t.table_schema = c.schema_name
ORDER BY c.schema_name, t.table_name;
from dataflare.
I has trying change the code you mention into all upper case like this
SELECT
c.SCHEMA_NAME,
t.TABLE_NAME
FROM
INFORMATION_SCHEMA.SCHEMATA as c
LEFT JOIN INFORMATION_SCHEMA.TABLES as t ON
t.TABLE_TYPE = 'BASE TABLE' AND
t.TABLE_SCHEMA = c.SCHEMA_NAME
ORDER BY c.SCHEMA_NAME, t.TABLE_NAME;
and it working good
BTW I don't know if it will affected and cause error on any other MSSQL version or other SQL tools
from dataflare.
I have the same problem on a SQL Server host with case-sensitive collation.
INFORMATION_SCHEMA
views (and columns) are all UPPER-CASE named by design as described in every RDBMS documentation and not surprisingly writing these queries in lower-case can lead to compatibility problems.
from dataflare.
Related Issues (20)
- [Feature Request] Do not auto connect to the database at startup HOT 1
- [Feature Request] Functions and Storeprocedures display HOT 1
- [BUG] explain sql script not show HOT 2
- [BUG] Horizontal scrolling bar disappears HOT 2
- [BUG] thread 'main' panicked at HOT 3
- [BUG]: Block next page button when rows' limit is reached.
- [Feature Request]: Add Query Collection Manager
- [BUG] Tab disappear when click it HOT 7
- [Feature Request] Hotkeys for basic actions like refreshing HOT 2
- [Feature Request] Custom API Domain for D1 Connections HOT 4
- [BUG] Extension info doesn't load HOT 3
- [Feature Request] Support for viewing Vectors HOT 6
- [BUG] Select from "set" does not work HOT 1
- [Feature Request] Formatting numbers HOT 1
- [Feature Request] Allow middle click to close a tab
- [Feature Request] Allow Shortcut to re-open closed tabs
- [Feature Request] 自定义快捷键 HOT 2
- [Feature Request] MANUAL COMMIT MODE
- Recurrent Input/Output error [BUG] HOT 1
- [Question] Run cte query in query section HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dataflare.