squirrel-sql

Squirrel sql client session timeout

天涯浪子 提交于 2019-11-30 17:24:43
It is not related to whatever version it is, just working to find out how to change (of course increase) session timeout value of Squirrel Sql Client. Because I really get bored of getting kind of exception "Last packet sent to the server was .. ago" Any help would be appreciated. You can keep the connection alive by doing the following: On Aliases->Modify the Selected Alias (pencil icon)-> Properties-> Connection (tab) Check Enable Keep-Alive and enter a simple query, in PostgreSQL I use SELECT 1; , in Oracle should be something like SELECT 1 FROM dual; Javatar Solution for MySQL: Right-click

Squirrel sql client session timeout

ⅰ亾dé卋堺 提交于 2019-11-30 01:32:28
问题 It is not related to whatever version it is, just working to find out how to change (of course increase) session timeout value of Squirrel Sql Client. Because I really get bored of getting kind of exception "Last packet sent to the server was .. ago" Any help would be appreciated. 回答1: You can keep the connection alive by doing the following: On Aliases->Modify the Selected Alias (pencil icon)-> Properties-> Connection (tab) Check Enable Keep-Alive and enter a simple query, in PostgreSQL I

How to configure Squirrel SQL client to work with MS Access

不羁的心 提交于 2019-11-28 04:53:40
问题 I'm struggling to get Squirrel SQL to connect to MS Access database (just a normal one, no password): I create an Alias and use Driver: JBDC ODBC bridge (There is a tick in front of this driver) I don't know what to put in URL -------- I use: Path to database file ~~> Unsuccessful -------- I use: jdbc:odbc:Path to database file ~~> Unsuccessful I'm running it on windows 7. I guest this should be a simple straight forward process, but please advise me how to get it working. 回答1: Now that the

PostgreSQL function definition in SQuirreL: unterminated dollar-quoted string

元气小坏坏 提交于 2019-11-27 23:53:59
I have the following function definition for a PostgreSQL 9.3.4 database: CREATE OR REPLACE FUNCTION update_modified_timestamp() RETURNS TRIGGER AS $$ BEGIN NEW.modified_at = now(); RETURN NEW; END; $$ LANGUAGE plpgsql; When I try to execute this in SQuirreL (3.5.3 or 3.6), I get the following error: Error: ERROR: unterminated dollar-quoted string at or near "$$ BEGIN NEW.modified_at = now()" Position: 77 SQLState: 42601 ErrorCode: 0 So far I've learned this can be mitigated by using single quotes to delimit the function body like so: CREATE OR REPLACE FUNCTION update_modified_timestamp()

PostgreSQL function definition in SQuirreL: unterminated dollar-quoted string

拜拜、爱过 提交于 2019-11-26 21:34:37
问题 I have the following function definition for a PostgreSQL 9.3.4 database: CREATE OR REPLACE FUNCTION update_modified_timestamp() RETURNS TRIGGER AS $$ BEGIN NEW.modified_at = now(); RETURN NEW; END; $$ LANGUAGE plpgsql; When I try to execute this in SQuirreL (3.5.3 or 3.6), I get the following error: Error: ERROR: unterminated dollar-quoted string at or near "$$ BEGIN NEW.modified_at = now()" Position: 77 SQLState: 42601 ErrorCode: 0 So far I've learned this can be mitigated by using single