dbvisualizer

Db Vis: how to visualise the data in Data Monitor with graphs?

余生长醉 提交于 2019-12-08 13:40:19
问题 I have the AdventureWorks db in DbVis Free edition (OSX) and I want to visualise the data in Data monitor with graphs like below. I am not sure whether this charts feature is working only in Pro. How can I visualise the data with graphs like the below in Db Vis? Goal to visualise the data with graphs like below. 回答1: Charting support is available only in the DbVisualizer Pro edition. Read more how to setup monitors and charts in DbVisualizer Pro. You may evaluate the Pro edition by signing up

something funny with embedded hsql

≯℡__Kan透↙ 提交于 2019-12-08 01:10:49
问题 i'm just curious about something.I'm using hsql in myproject (embedded of course).At some time i felt the need to visualize what hibernate was generating.I took a free copy of dbvisualizer. here is the hsqljdbc.properties jdbc.url=jdbc:hsqldb:file:mydb;create=true hibernate hbm2ddl.auto=create i downloaded the hsql 1.8.0_10. i did all the required procedure.i could connect and see the tables but after that changes made to the table don't seem be willing to show up.then i've tried to delete

Connecting to H2 server from DbVisualizer

隐身守侯 提交于 2019-12-06 23:09:56
问题 I have configured my H2 database as follows: @Configuration @Profile({ Profiles.DEV }) public class DevDataSourceConfiguration { @Bean(initMethod = "start", destroyMethod = "stop") public Server h2WebServer() throws SQLException { return Server.createWebServer("-web", "-webAllowOthers", "-webPort", "8082"); } @Bean(initMethod = "start", destroyMethod = "stop") @DependsOn("h2WebServer") public Server h2Server() throws SQLException { return Server.createTcpServer("-tcp", "-tcpAllowOthers", "

something funny with embedded hsql

自作多情 提交于 2019-12-06 14:03:37
i'm just curious about something.I'm using hsql in myproject (embedded of course).At some time i felt the need to visualize what hibernate was generating.I took a free copy of dbvisualizer. here is the hsqljdbc.properties jdbc.url=jdbc:hsqldb:file:mydb;create=true hibernate hbm2ddl.auto=create i downloaded the hsql 1.8.0_10. i did all the required procedure.i could connect and see the tables but after that changes made to the table don't seem be willing to show up.then i've tried to delete the db generate a new one but still.You got any idea in this? I usually Derby but i've realized lately

Connecting to H2 server from DbVisualizer

烂漫一生 提交于 2019-12-05 03:15:28
I have configured my H2 database as follows: @Configuration @Profile({ Profiles.DEV }) public class DevDataSourceConfiguration { @Bean(initMethod = "start", destroyMethod = "stop") public Server h2WebServer() throws SQLException { return Server.createWebServer("-web", "-webAllowOthers", "-webPort", "8082"); } @Bean(initMethod = "start", destroyMethod = "stop") @DependsOn("h2WebServer") public Server h2Server() throws SQLException { return Server.createTcpServer("-tcp", "-tcpAllowOthers", "-tcpPort", "9092"); } @Bean @DependsOn("h2Server") public DataSource datasource() { HikariDataSource ds =

MySQL - Trouble with creating user defined function (UDF)

久未见 提交于 2019-12-04 05:08:27
问题 I'm trying to create this function: CREATE FUNCTION remove_non_alphanum (prm_strInput varchar(3000)) RETURNS VARCHAR(3000) DETERMINISTIC BEGIN DECLARE i INT DEFAULT 1; DECLARE v_char VARCHAR(1); DECLARE v_parseStr VARCHAR(3000) DEFAULT ''; WHILE (i <= LENGTH(prm_strInput) ) DO SET v_char = SUBSTR(prm_strInput,i,1); IF v_char REGEXP '^[A-Za-z0-9]$' THEN SET v_parseStr = CONCAT(v_parseStr,v_char); END IF; SET i = i + 1; END WHILE; RETURN trim(v_parseStr); END But MySQL says: 13:52:45 [CREATE -

玩转 Elasticsearch 的 SQL 功能

青春壹個敷衍的年華 提交于 2019-12-03 10:14:39
最近发布的 Elasticsearch 6.3 包含了大家期待已久的 SQL 特性,今天给大家介绍一下具体的使用方法。 首先看看接口的支持情况 目前支持的 SQL 只能进行数据的查询只读操作,不能进行数据的修改,所以我们的数据插入还是要走之前的常规索引接口。 目前 Elasticsearch 的支持 SQL 命令只有以下几个: 命令 说明 DESC table 用来描述索引的字段属性 SHOW COLUMNS 功能同上,只是别名 SHOW FUNCTIONS 列出支持的函数列表,支持通配符?过滤 SHOW TABLES 返回索引列表 SELECT .. FROM table_name WHERE .. GROUP BY .. HAVING .. ORDER BY .. LIMIT .. 用来执行查询的命令 我们分别来看一下各自怎么用,以及有什么效果吧,自己也可以动手试一下,看看。 首先,我们创建一条数据: POST twitter/doc/ { "name":"medcl", "twitter":"sql is awesome", "date":"2018-07-27", "id":123 } RESTful下调用SQL 在 ES 里面执行 SQL 语句,有三种方式,第一种是 RESTful 方式,第二种是 SQL-CLI 命令行工具,第三种是通过 JDBC 来连接 ES,执行的

Oracle Bulk Import

旧巷老猫 提交于 2019-12-02 11:37:38
问题 Bulk Import in Oracle I have created the table emp and I need to import bulk data from a file into emp For Ex CREATE TABLE emp ( c1 NUMBER, c2 VARCHAR2(30) ) File path : 'C:\Documents and Settings\TestUser\My Documents\LearnOracle\reports.csv' 回答1: You will have to use the inbuilt tool sql*loader to load data from external flat files into oracle. 1. create a control file control.ctl load data infile 'reports.csv' into table emp fields terminated by ',' optionally enclosed by '"' c1,c2 2. data

MySQL - Trouble with creating user defined function (UDF)

时光毁灭记忆、已成空白 提交于 2019-12-02 03:57:22
I'm trying to create this function: CREATE FUNCTION remove_non_alphanum (prm_strInput varchar(3000)) RETURNS VARCHAR(3000) DETERMINISTIC BEGIN DECLARE i INT DEFAULT 1; DECLARE v_char VARCHAR(1); DECLARE v_parseStr VARCHAR(3000) DEFAULT ''; WHILE (i <= LENGTH(prm_strInput) ) DO SET v_char = SUBSTR(prm_strInput,i,1); IF v_char REGEXP '^[A-Za-z0-9]$' THEN SET v_parseStr = CONCAT(v_parseStr,v_char); END IF; SET i = i + 1; END WHILE; RETURN trim(v_parseStr); END But MySQL says: 13:52:45 [CREATE - 0 row(s), 0.000 secs] [Error Code: 1064, SQL State: 42000] You have an error in your SQL syntax; check

Oracle Bulk Import

狂风中的少年 提交于 2019-12-02 03:54:51
Bulk Import in Oracle I have created the table emp and I need to import bulk data from a file into emp For Ex CREATE TABLE emp ( c1 NUMBER, c2 VARCHAR2(30) ) File path : 'C:\Documents and Settings\TestUser\My Documents\LearnOracle\reports.csv' You will have to use the inbuilt tool sql*loader to load data from external flat files into oracle. 1. create a control file control.ctl load data infile 'reports.csv' into table emp fields terminated by ',' optionally enclosed by '"' c1,c2 2. data file is your reports.csv 3.invoke sql*loader: $ sqlldr scott/tiger control=control.ctl Note: this is the