12.07.2015 Views

Solution Guide for Migrating Oracle on UNIX to SQL Server - Willy .Net

Solution Guide for Migrating Oracle on UNIX to SQL Server - Willy .Net

Solution Guide for Migrating Oracle on UNIX to SQL Server - Willy .Net

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

360 Appendices7. Type the following command <strong>to</strong> check that unixODBC was installed successfully:/usr/local/bin/isqlIf unixODBC is installed correctly, you will see the following message:*********************************************** unixODBC - isql************************************************ Syntax**** isql DSN [UID [PWD]] [opti<strong>on</strong>s] ** ** Opti<strong>on</strong>s *** -b batch.(no prompting etc)*** -dx delimit columns with x ** -x0xXX delimit columns with XX, where *** -wx is in hex, ie 0x09 is tabwrap results in an HTML table*** -c column names <strong>on</strong> first row. ** (<strong>on</strong>ly used when -d) ** -mn limit column display width <strong>to</strong> n ** -v verbose. ** --versi<strong>on</strong> versi<strong>on</strong> ** ** Notes** isql supports redirecti<strong>on</strong> and piping**** <str<strong>on</strong>g>for</str<strong>on</strong>g>*batch processing. *** Examples **** cat My.sql | isql WebDB MyID MyPWD -w ** ** Each line in My.sql must c<strong>on</strong>tain ** exactly 1 <strong>SQL</strong> command except <str<strong>on</strong>g>for</str<strong>on</strong>g> the ** last line which must be blank. ** ** Please visit; ** ** http://www.unixodbc.org ** pharvey@codebydesign.com ** nick@easysoft.com ***********************************************Installing ActiveState PerlActiveState Perl can be downloaded from the ActiveState Web site athttp://www.activestate.com. ActiveState Perl is available in prebuilt binary <str<strong>on</strong>g>for</str<strong>on</strong>g>m <str<strong>on</strong>g>for</str<strong>on</strong>g> Linux,Solaris, and Windows, but the source code is also available and can be used <strong>to</strong> buildActiveState Perl <strong>on</strong> other <strong>UNIX</strong> plat<str<strong>on</strong>g>for</str<strong>on</strong>g>ms.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!