Beginning Databases with Postgre SQL phần 4 pptx

Beginning Databases with Postgre SQL phần 4 pptx

Beginning Databases with Postgre SQL phần 4 pptx

... A 4- byte integer, capable of storing numbers from –2 147 483 648 to 2 147 483 647 serial Same as integer, except that its value is normally automatically entered by PostgreSQL Table 8 -4. PostgreSQL ... | -100 | 123 .45 7 | 123 .45 7 | 123 .46 -32768 | -12 345 6789 | 1.2 345 7 | 1.2 345 7 | 1.23 -32768 | -12 345 6789 | 1.2 345 7e+008 | 1.2 345 7e+008 | 123.12 (4 rows) test=> Matt...

Ngày tải lên: 09/08/2014, 14:20

66 187 0
Beginning Databases with Postgre SQL phần 2 pptx

Beginning Databases with Postgre SQL phần 2 pptx

... for PostgreSQL postgresql-pl PostgreSQL server support for Perl postgresql-python PostgreSQL server support for Python postgresql-tcl PostgreSQL server support for Tcl postgresql-test PostgreSQL ... files: • postgresql-8.0.0.base.tar.gz • postgresql-8.0.0.docs.tar.gz • postgresql-8.0.0.opt.tar.gz • postgresql-8.0.0.test.tar.gz MatthewStones _47 89C03.fm Page 49 Tuesday, February 1, 2005 7: 2...

Ngày tải lên: 09/08/2014, 14:20

66 300 0
Beginning Databases with Postgre SQL phần 1 ppt

Beginning Databases with Postgre SQL phần 1 ppt

... conformance to SQL9 2: Entry SQL, Intermediate SQL, and Full SQL. By far, the most common conformance level is Entry SQL. ■Note PostgreSQL is very close to SQL9 2: Entry SQL conformance, with only ... of Beginning Databases with PostgreSQL; the first edition was published by Wrox Press in 2001. Since then, every chapter has been updated with material to cover the latest v...

Ngày tải lên: 09/08/2014, 14:20

67 232 0
Beginning Databases with Postgre SQL phần 3 pps

Beginning Databases with Postgre SQL phần 3 pps

... replaced with =#. psql commands are of two different types: • SQL commands: We can issue any SQL statement that PostgreSQL supports to psql, and it will execute it. • Internal commands: These are psql ... Meaning MatthewStones _47 89C05.fm Page 120 Monday, February 14, 2005 12:00 PM CHAPTER 4 ■ ACCESSING YOUR DATA 111 many SQL databases. Microsoft was an early adopter in SQL Ser...

Ngày tải lên: 09/08/2014, 14:20

66 313 0
Beginning Databases with Postgre SQL phần 5 ppt

Beginning Databases with Postgre SQL phần 5 ppt

... ticket, and MatthewStones _47 89C09.fm Page 244 Friday, March 4, 2005 6 :44 PM 270 CHAPTER 10 ■ FUNCTIONS, STORED PROCEDURES, AND TRIGGERS ■Note Older versions of PostgreSQL supported operators for ... experiment with: MatthewStones _47 89C09.fm Page 248 Friday, March 4, 2005 6 :44 PM CHAPTER 10 ■ FUNCTIONS, STORED PROCEDURES, AND TRIGGERS 269 As you can see, there are many operators su...

Ngày tải lên: 09/08/2014, 14:20

66 177 0
Beginning Databases with Postgre SQL phần 6 pps

Beginning Databases with Postgre SQL phần 6 pps

... exits MatthewStones _47 89C11.fm Page 330 Wednesday, February 23, 2005 6 :48 AM 3 14 CHAPTER 11 ■ POSTGRESQL ADMINISTRATION Table 11 -4 lists the main options in the postgresql.conf file. Table 11 -4. Principal postgresql.conf ... /opt/pgdata drwxr-xr-x 2 postgres postgres 40 96 Nov 21 14: 07 /opt/pgdata # Now we are ready to create a PostgreSQL tablespace associated with our new direct...

Ngày tải lên: 09/08/2014, 14:20

66 320 0
Beginning Databases with Postgre SQL phần 7 docx

Beginning Databases with Postgre SQL phần 7 docx

... or 543 2 if not set MatthewStones _47 89.book Page 388 Wednesday, February 23, 2005 6 :49 AM MatthewStones _47 89.book Page 41 8 Wednesday, February 23, 2005 6 :49 AM CHAPTER 13 ■ ACCESSING POSTGRESQL ... enter commands to psql. Save this code in a file called create.c: MatthewStones _47 89.book Page 3 94 Wednesday, February 23, 2005 6 :49 AM 41 4 CHAPTER 13 ■ ACCESSING POSTGRESQL FROM C...

Ngày tải lên: 09/08/2014, 14:20

66 202 0
Beginning Databases with Postgre SQL phần 8 ppt

Beginning Databases with Postgre SQL phần 8 ppt

... nonquery commands sub doSQL { my ($conn, $command) = @_; MatthewStones _47 89C16.fm Page 48 5 Friday, March 4, 2005 6 :44 PM 44 4 CHAPTER 14 ■ ACCESSING POSTGRESQL FROM C USING EMBEDDED SQL Here is an example ... SQL statements LOOP: # Execute a SQL statement # Read query results # Disconnect from database MatthewStones _47 89C16.fm Page 47 2 Friday, March 4, 2005 6 :44 PM 4...

Ngày tải lên: 09/08/2014, 14:20

66 640 0
Beginning Databases with Postgre SQL phần 9 pot

Beginning Databases with Postgre SQL phần 9 pot

... Types Table B -4 shows the PostgreSQL data types for date and time. Character Types Table B-5 shows the PostgreSQL character data types. Table B -4. PostgreSQL Types for Date and Time SQL Name PostgreSQL ... and the PostgreSQL developers, all the best with this outstanding open- source database. MatthewStones _47 89C18.fm Page 541 Friday, March 4, 2005 6 :47 PM APPENDIX B ■ POSTGRESQL D...

Ngày tải lên: 09/08/2014, 14:20

66 447 0
Beginning Databases with Postgre SQL phần 10 pot

Beginning Databases with Postgre SQL phần 10 pot

... Perl DBI database limits, PostgreSQL, 543 – 544 columns in a table, 544 database size, 543 field size, 544 row size, 544 rows in a table, 544 table indexes, 544 table size, 544 database management internal ... driver, 46 9 DBI environment variables, 47 5 DBI features, 48 3 DBI module, 46 9 DBIx modules, 48 4 DBIx::Easy, 48 4 48 5 DBIx::XML_RDB module, 48 5 executing SQL, 47 7...

Ngày tải lên: 09/08/2014, 14:20

70 303 0
w