Perl Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsProgramming LanguagesPerl Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old November 6th, 2012, 05:36 PM
phineas629 phineas629 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2012
Posts: 1 phineas629 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 19 m 42 sec
Reputation Power: 0
New to perl and have questions

Hi all,

I have to run a perl script by converting from sql 2005 to sql 2000. The connection is "use win32: : odbc". Is there a method for me to run the perl script out of sql 2005 versus having to revert it to sql 2000. Any ideas on working around odbc? I don't believe going to DBI is an option as I am dealing with tables in sql that holds a lot of information to image paths. Pardon me if my question sounds stupid as I am really new to sql.

thanks in advance,
Phineas

Reply With Quote
  #2  
Old November 11th, 2012, 10:27 AM
keath's Avatar
keath keath is offline
!~ /m$/
Dev Shed Specialist (4000 - 4499 posts)
 
Join Date: May 2004
Location: Reno, NV
Posts: 4,084 keath User rank is General 12nd Grade (Above 100000 Reputation Level)keath User rank is General 12nd Grade (Above 100000 Reputation Level)keath User rank is General 12nd Grade (Above 100000 Reputation Level)keath User rank is General 12nd Grade (Above 100000 Reputation Level)keath User rank is General 12nd Grade (Above 100000 Reputation Level)keath User rank is General 12nd Grade (Above 100000 Reputation Level)keath User rank is General 12nd Grade (Above 100000 Reputation Level)keath User rank is General 12nd Grade (Above 100000 Reputation Level)keath User rank is General 12nd Grade (Above 100000 Reputation Level)keath User rank is General 12nd Grade (Above 100000 Reputation Level)keath User rank is General 12nd Grade (Above 100000 Reputation Level)keath User rank is General 12nd Grade (Above 100000 Reputation Level)keath User rank is General 12nd Grade (Above 100000 Reputation Level)keath User rank is General 12nd Grade (Above 100000 Reputation Level)keath User rank is General 12nd Grade (Above 100000 Reputation Level)keath User rank is General 12nd Grade (Above 100000 Reputation Level) 
Time spent in forums: 2 Weeks 4 Days 6 h 49 m 56 sec
Reputation Power: 1809
There's an ODBC driver for DBI, so that isn't a problem.

DBD::ODBC

I'm not sure what you mean by converting from SQL 2005 to SQL 2000. On the perl side, you only need to make the connection. If the database schema is different, then you'll obviously need to make adjustments to the script to match the new table and field names.

It's pretty easy to query the database though with a script and receive the new schema.

Reply With Quote
  #3  
Old November 28th, 2012, 01:20 AM
vigneshs669@gma vigneshs669@gma is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2012
Posts: 1 vigneshs669@gma User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 m 22 sec
Reputation Power: 0
Perl script

I have an excel file that has 912266312249,66312250/23451985
in a single cell i need to separate these files to separate cells and some files have +91 22 264 23801,26428804 same way i have to separate them.. and add the missing data from the previous field to the second one like +91 22 missing in the 2nd field how do i do this using perl or is their any easy way to do this

Reply With Quote
  #4  
Old November 28th, 2012, 01:36 AM
Laurent_R Laurent_R is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Jun 2012
Posts: 504 Laurent_R User rank is Major (30000 - 40000 Reputation Level)Laurent_R User rank is Major (30000 - 40000 Reputation Level)Laurent_R User rank is Major (30000 - 40000 Reputation Level)Laurent_R User rank is Major (30000 - 40000 Reputation Level)Laurent_R User rank is Major (30000 - 40000 Reputation Level)Laurent_R User rank is Major (30000 - 40000 Reputation Level)Laurent_R User rank is Major (30000 - 40000 Reputation Level)Laurent_R User rank is Major (30000 - 40000 Reputation Level)Laurent_R User rank is Major (30000 - 40000 Reputation Level)Laurent_R User rank is Major (30000 - 40000 Reputation Level) 
Time spent in forums: 4 Days 18 h 54 m 9 sec
Reputation Power: 385
I do not understand what you are trying to do. Please explain better.

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesPerl Programming > New to perl and have questions

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap