Previous Thread
Next Thread
Print Thread
Rate Thread
#102831 06/12/2001 6:14 PM
Joined: Mar 2001
Posts: 10
Junior Member
Junior Member
Offline
Joined: Mar 2001
Posts: 10
I wouldn't say I'm a complete beginner to Perl, I've made extensive changes to my UBB, but I still have some trouble getting my head round databases.

Does anyone know of a good tutorial site which explains, very simply, the code I need to add, delete, and query records in a SQL or Access database?

All I'm looking for is something very simple to get me started, then I can make some sense of the explanations in my book shocked

Thanks for any help you can give me!

laugh

[ June 16, 2001 02:14 PM: Message edited by: SF Mara ]

Sponsored Links
#102832 06/12/2001 8:21 PM
Joined: Sep 2000
Posts: 755
P.I.T.A. / Programmer
P.I.T.A. / Programmer
Offline
Joined: Sep 2000
Posts: 755


"Annnnnnnndd now, opening for Iron Maiden...... WYLD STALLYNS!!!" --Bill S. Preston, Esquire and Ted "Theodore " Logan
#102833 06/13/2001 5:26 PM
Joined: Mar 2001
Posts: 10
Junior Member
Junior Member
Offline
Joined: Mar 2001
Posts: 10
Thanks!

OK, I've got the hang of it now, I think... but can anyone help me with this one more thing:

I have a Microsoft Access database on a Windows web server. I do not have physical access to the server to manually create ODBC connections. Is there ANY way I can use a CGI script to connect to the database without having to phone the server admin?

I've been working on it for 8 hours, and I can't get it to work...

Thanks for any help you can give me! laugh

#102834 06/13/2001 8:40 PM
Joined: Sep 2000
Posts: 755
P.I.T.A. / Programmer
P.I.T.A. / Programmer
Offline
Joined: Sep 2000
Posts: 755
Is the CGI script running on the same server as Access?


"Annnnnnnndd now, opening for Iron Maiden...... WYLD STALLYNS!!!" --Bill S. Preston, Esquire and Ted "Theodore " Logan
#102835 06/14/2001 11:19 AM
Joined: Mar 2001
Posts: 10
Junior Member
Junior Member
Offline
Joined: Mar 2001
Posts: 10
Affirmative smile

Sponsored Links
#102836 06/14/2001 7:44 PM
Joined: Sep 2000
Posts: 755
P.I.T.A. / Programmer
P.I.T.A. / Programmer
Offline
Joined: Sep 2000
Posts: 755
If it's on the same sever, you should be able to install DBI and DBD::oDBC (or an Access specific one if there is one) and connect to the database, just like you would with MySQL

--mark


"Annnnnnnndd now, opening for Iron Maiden...... WYLD STALLYNS!!!" --Bill S. Preston, Esquire and Ted "Theodore " Logan
#102837 06/16/2001 2:19 PM
Joined: Mar 2001
Posts: 10
Junior Member
Junior Member
Offline
Joined: Mar 2001
Posts: 10
OK, I got it working, but after a lot of experimenting have run into a problem.

I cannot create tables with a large number of large fields.

For example, the command:

Code
code:

works, but

Code
code:

doesn't. I mean, it just doesn't create the table. No error message, nothing.

Is there some limit to the number of fields/size of fields that can be created in one table?


Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Bill B
Bill B
Issaquah, WA
Posts: 87
Joined: December 2001
Forum Statistics
Forums63
Topics37,575
Posts293,931
Members13,824
Most Online6,139
Sep 21st, 2024
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,834
Greg Hard 4,625
Top Posters(30 Days)
Gizmo 1
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2025 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.1
(Snapshot build 20240918)