Let's take a look at a simple program that will create a database table and populate the table with data values.
让我们来看一个简单的程序,它能创建一个数据库表并填入数据值。
Listing 2 demonstrates a simple Perl program that establishes connection to the database SAMPLE and returns today's date.
清单2展示了一个简单的Perl程序,它建立到数据库sample的连接,并返回今天的日期。
You'll go from the simple task of selecting a row from a database into a Perl program to more advance topics, including dealing with large objects and invoking stored procedures.
我们将从一个简单的任务入手:从数据库中选择一行数据放入一个Perl程序中;接着逐步介绍一些高级主题,包括处理大对象和调用存储过程。
应用推荐