Syntax Highlighting for Oracle Express - oracle10g

Is there way to highlight SQL commants in Oracle Database Express editon (10g).
I want to see SELECT, FROM, WHERE etc commants in different color.

No, not out of the box. It seems you are on a version < 4.0, so taht might complicate it a bit.
You could try looking into apexLib: http://apexlib.oracleapex.info/
Although you would need firefox + greasemonkey extension or chrome to get this running. On IE it's a no-go.

Related

MySQL Workbench doesn't shown export option on macOS sierra

I have installed MySQL Workbench (v 6.3.9) on my mac macOS Sierra 10.12.4.
There are several problems with displays.
I do not have access to export options in "Forward Engineer SQL Script", there is no text in the catalog in the left panel (and more...).
What can I do to workaround these problems?
You're correct, MYSQL Workbench (v 6.3.9) is buggy, though it is still possible to do Forward Engineer through Database->Synchronize Model. An alternative to viewing the text in the catalog is clicking the layers option on the right to display your tables.
Cheers!
Every software has bugs, it's just sometimes less obvious (here however very). No doubt, both are serious problems. The first one is already known and we will fix it for the next release. The second problem however is surprising. I just tried the version available from the MySQL website and the catalog tree shows fine for me. Would be good if you could create a bug report for that, so we can fix that too.

Working on .mdf and .sdf at the same time

Is it possible to open .mdf and .sdf database types in the same Sql Sever Management Studio session?
I have tried, and it obviously did not work. I am guessing I either have something configured wrong or they are not compatible. I can open each up separately of course using the appropriate database provider when opening SSMS.
I was just hoping there was a way or maybe some other MS tool, plug in or app I don't have that will allow them to work together.
I was hoping to use TSQL to populate the Compact Db but it appears I need to code up an app or something to do this. Any suggestions on porting data to compact?
Use my free Visual Studio add-in "SQL Server Compact Toolbox", lets you move data and schema from SQL Server to Compact in a single click

Problems using phpMyAdmin from iPhone

I do a lot of web stuff from my phone and sometimes I need to go in to a database using phpMyAdmin to change some things.
The problem I'm having is with the Run SQL tool. From the iPhone I'm not able to double-tap the text area to Paste the command. Even typing everything in proves difficult. It seems to be an issue with the line numbers.
I know I know I shouldn't even be doing that kind of work via my iPhone, phpMyAdmin isn't exactly designed for mobile usage, but I do. Does anyone know a workaround for this?
You can try MySQL Quick Admin http://www.fusionswift.com/mysql-quick-admin/
"..is a essentially a light weight version of PHPMyAdmin.."

Set SQL Server Syntax

Is it possible to set SQL Server 2008 R2 to just accept the ANSI SQL-92 syntax ?
So, when I do query using ANSI SQL-89 syntax, It will show some error.
If yes, how to do that ?
Thanks in Advance
No, but you can monitor for the use of deprecated features by using the SQL Server Deprecated Features Object performance counter and trace events. You won't get realtime warnings, but you don't want that anyway - it would break your apps. Instead, you just want to monitor afterwards to see what code you need to go fix.
Dont think so
Run sp_configure and see if you get such an option.. I can't see any on my box.

SQLPLUS session to remember history

I have just started using sqlplus for oracle and it is horrible, I was trying to look for ideas if anyone has any scripts written around sqlplus which stores history and and it works more like an editor.
You might want to consider using YASQL, http://sourceforge.net/projects/yasql/, which is an alternative client written in Perl.
It is pretty neat and covers most of what one would expect from a DB CLI client. It does not support everything sqlplus does, though.
What you want is the extremely handy rlwrap command. It will wrap almost any command and add readline-style command history and editing. It supports, colors, custom completions, and all that jazz. I'm not sure if the link I provided to rlwrap is the "official" source, and compiling it can sometimes be a pain, but your favorite Unix package source should have some version of it available.