- In the extension bar, click the AdBlock Plus icon
- Click the large blue toggle for this website
- Click refresh
- In the extension bar, click the AdBlock icon
- Under "Pause on this site" click "Always"
- In the extension bar, click on the Adguard icon
- Click on the large green toggle for this website
- In the extension bar, click on the Ad Remover icon
- Click "Disable on This Website"
- In the extension bar, click on the orange lion icon
- Click the toggle on the top right, shifting from "Up" to "Down"
- In the extension bar, click on the Ghostery icon
- Click the "Anti-Tracking" shield so it says "Off"
- Click the "Ad-Blocking" stop sign so it says "Off"
- Refresh the page
- In the extension bar, click on the uBlock Origin icon
- Click on the big, blue power button
- Refresh the page
- In the extension bar, click on the uBlock icon
- Click on the big, blue power button
- Refresh the page
- In the extension bar, click on the UltraBlock icon
- Check the "Disable UltraBlock" checkbox
- Please disable your Ad Blocker
- Disable any DNS blocking tools such as AdGuardDNS or NextDNS
- Disable any privacy or tracking protection extensions such as Firefox Enhanced Tracking Protection or DuckDuckGo Privacy.
If the prompt is still appearing, please disable any tools or services you are using that block internet ads (e.g. DNS Servers, tracking protection or privacy extensions).
Question
Squirrelington
I needed a way to automatically extract several tables from a database running Informix so I could DTS them into MS SQL 2k5+. This was an older Informix 7.4 server running Debian 3 sarge and every attempt at connect to this server via ODBC failed so I wrote this script.
#!/usr/bin/perl -X ################################################################## # Export all tables from an Informix database using iSQL command # # by Travis Gutjahr # # Version 2.1 # # Updated July 14, 2011 11:18 UTC -05:00 # ################################################################## ### VARIABLES ### Database to extract all tables from $database = "maindb"; ### Folder to extract files to $backupfolder = "/backup/output"; ### Delimiter to use $delimiter = "?"; ### SOURCE CODE - DO NOT EDIT ### print "Retrieving table list...\n"; $tableinfoexport = `isql $database << EOF output to pipe "cat" without headings select tabname from systables where tabid > 99 and tabtype = "T" EOF`; print "Table list retrieved!\n\n"; foreach $table (split(/\n/, $tableinfoexport)) { if (($table !~ /.*row(s) retrieved\..*/ig) && ($table !~ /^$/)) { $table =~ s/^\s+//; $table =~ s/\s+$//; print "Exporting table: " . $table . "\n"; $output = `isql $database << EOF UNLOAD TO '$backupfolder/$table.ifx' DELIMITER '$delimiter' select * from $table EOF`; } } close(TABINF); ###
Edited by FuhrerDarqueSydeLink to comment
https://www.neowin.net/forum/topic/1010902-perlinformix-automated-data-extraction/Share on other sites
3 answers to this question
Recommended Posts