Scoop -- the swiss army chainsaw of content management
Front Page · Everything · News · Code · Help! · Wishlist · Project · Scoop Sites · Dev Notes · Latest CVS changes · Development Activities
First cut DB2 database Developer Diary
By sfischer , Section Dev Notes []
Posted on Tue Dec 18, 2001 at 11:04:03 AM PST
Here's the first cut at converting the scoop.sql to be DB2 compliant

I did all this last week and hoped to complete the loose ends prior to posting, but it's gotten busy. Hopefully I'll have some time to work on this over the next couple of weeks.

I'd like to see some more information on what the individual who got it working on Postgres did. Also, I'd concur with earlier discussion on scoop-dev that subclassing is probably the way to go.

  1. Convert # comments to --. Currently all comments start on the first column of a line so it's a easy fix.
  2. Convert int(\d*) to integer.
  3. Convert text to clob(65536).
  4. Change default to "with default".
  5. Convert tinyint to smallint.
  6. Convert tinytext to varchar(255).

Open issues I need to look at.

  1. Backslashed quotes within values break the quotes.
  2. integer not null default 0 types violate sql definitions
  3. datetime. SQL92 has no datetime. There are date, time or timestamp. We'll need to make a decision what is the best way to go here.

That's it for now.

-swf

< The next steps in search functionality | Help Architecture >

Menu
· create account
· faq
· search
· report bugs
· Scoop Administrators Guide
· Scoop Box Exchange

Login
Make a new account
Username:
Password:

Related Links
· Scoop
· sfischer's Diary

Story Views
  20 Scoop users have viewed this story.

Display: Sort:
First cut DB2 database | 1 comment (1 topical, 0 hidden)
the thought of scoop on RS/6000's (none / 0) (#1)
by Del Griffith on Mon Nov 01, 2010 at 03:26:05 PM PST

is sickening.



First cut DB2 database | 1 comment (1 topical, 0 hidden)
Display: Sort:

Hosted by ScoopHost.com Powered by Scoop
All trademarks and copyrights on this page are owned by their respective companies. Comments are owned by the Poster. The Rest © 1999 The Management

create account | faq | search