about 11 months ago - No comments
Since I’ve been working most of my time with iPhone Dev for the last couple of months, I thought it will be worthwile to post how to import files to SQLite3. In a nutshell, use MesaSQLite’s IMPORT function. It will save you a lot of time. Now it is up to you how to export
about 1 year ago - No comments
I’ve been toggling back and forth two different oracle homes by editing the environment variables from the Control Panel in Windows which is a pain in the ***. What I did was, to create two different command prompt shells with different oracle home environments. I got this idea after a glimpse from FWTools. 1. Create
about 1 year ago - No comments
In summary, install Oracle Instant Client and try to run sqlplus. If sqlplus connects to the oracle sid then go ahead and install the rails adapters for oracle. What is important to note here, is to install the oracle-instantclient for the architecture of your machine.. I have tested this on Debian Lenny (i386) and CentOS5
about 1 year ago - 1 comment
1. Read http://www.foliosus.com/2008/05/05/connecting-ruby-on-rails-to-oracle-on-an-intel-mac-in-leopard-take-2/ 2. Install Oracle Instant Client on Mac. a. Instant Client Package – Basic: All files required to run OCI, OCCI, and JDBC-OCI applications – instantclient-basic-macosx-10.2.0.4.0.zip (34,020,719 bytes) b. *Instant Client Package – SDK: Additional header files and an example makefile for developing Oracle applications with Instant Client instantclient-sdk-macosx-10.2.0.4.0.zip (603,493 bytes) OR download
about 1 year ago - No comments
This is the first time I ever did a screencast and it was a lot of fun! Please do forgive me as my voice was horrible. I used iShowU and keyCaster. Google it! I hope you guys enjoyed it..as much as I did.. oracle_spatial_1.mov oracle_spatial_2.mov
about 1 year ago - No comments
There are many ways to deploy RoR applications. I have googled all over the place and so far the easiest setup that I could find that would suit my needs (existing Apache2 + ColdFusion + TileCache) would be to use 1. Apache PROXY 2. Mongrel CentOS Installation Instructions 1. Make sure Apache has mod_proxy ./configure
about 1 year ago - No comments
EXPLAIN PLAN 1. Create the PLAN_TABLE SQL> $ORACLE_HOME/rdbms/admin/utlxplan.sql 2. Run EXPLAIN PLAN for an SQL SQL> EXPLAIN PLAN 2 SET STATEMENT_ID = ‘example’ FOR 3 SELECT ename,dname 4 FROM emp inner join dept 5 ON ( emp.deptno = dept.deptno ) 6 / Explained. 3. DISPLAY Results SQL> $ORACLE_HOME/rdbms/admin/utlxpls.sql AUTOTRACE is a SQL*Plus facility that may
about 1 year ago - No comments
It was a gruesome day.. I have an oracle10g on my MacBookPro running on VMWare (WindowsXPSP3, let’s call this orawin). I have another setup box (CentOS5 + oracle11g = oralin) just this morning. I imported the tables from my orawin10g to my oralin11g, created the indexes for the tables in oralin11g. I ran my spatial
about 1 year ago - 1 comment
References: Comparison of different SQL implementations Oracle DataTypes Part 1: Oracle Misc Information *Oracle Services Running on Windows? * How to create a user? CREATE USER "APPDEV" PROFILE "DEFAULT" IDENTIFIED BY "*******" DEFAULT TABLESPACE "USERS" TEMPORARY TABLESPACE "TEMP" ACCOUNT UNLOCK GRANT UNLIMITED TABLESPACE TO "APPDEV"; GRANT "CONNECT" TO "APPDEV"; GRANT "RESOURCE" TO "APPDEV"; * How
about 1 year ago - No comments
Experiment 1: Two POIs SELECT p1.poi_id, p1.en_name, p1.py_fullpoiadd, p1.py_rdname, p2.poi_id, p2.en_name, p2.py_fullpoiadd, p2.py_rdname, SDO_GEOM.SDO_DISTANCE(p1.geom, p2.geom, 0.5) AS dist FROM poi_test p1, poi_test p2 WHERE Upper(p1.en_name) LIKE ‘%PARKSON%’ AND Upper(p2.en_name) LIKE ‘%KFC%’ AND SDO_WITHIN_DISTANCE(p1.geom, p2.geom, ‘DISTANCE=500 UNIT=METER’ )=’TRUE’ ORDER BY dist Experiment 2: Road + Two POIs SELECT p1.poi_id, p1.en_name, p1.py_fullpoiadd, p1.py_rdname, p2.poi_id, p2.en_name, p2.py_fullpoiadd, p2.py_rdname,