Previous Thread
Next Thread
Print Thread
Joined: Jun 2008
Posts: 226
B
Adagio Ace
Adagio Ace
B Offline
Joined: Jun 2008
Posts: 226
I am working with a software developer who has a vertical market cargo program. We will be importing customer & vendor profiles as well as transactions into Adagio. During this exercise the question came up as to the difference between Adagio’s CHAR and RCHAR data types as specified in the Data Dictionary.
I am very familiar with the difference between CHAR and VARCHAR data types in SQL. In the Adagio environment are CHAR data fields fixed length, right padded and VARCHAR variable length with trailing spaces?


Brian Puddington
Geneva Financial Systems
Montreal
Joined: Mar 1999
Posts: 10,504
Adagio Master
Adagio Master
Joined: Mar 1999
Posts: 10,504
Hi Brian,

RCHAR fields are right justified, zero trimmed and blank filled. CHAR fields are left justified and usually blank trimmed.

The easiest way to get data into Adagio is to set up an Import template and import the master file or transaction information from either a text file (CSV or blocked records) or an Excel spreadsheet. The import process can delete the file on successful processing of the import. Imports can be automatically process on module start up.


Andrew Bates
Joined: Jun 2008
Posts: 226
B
Adagio Ace
Adagio Ace
B Offline
Joined: Jun 2008
Posts: 226
I am very familiar with importing into Adagio. The other guy is an SQL tekkie and he was curious about the described data structures. Thanks for the info.


Brian Puddington
Geneva Financial Systems
Montreal
Joined: Jun 2008
Posts: 226
B
Adagio Ace
Adagio Ace
B Offline
Joined: Jun 2008
Posts: 226
Another question that he raised that had never occurred to me - date fields are listed in the AR data dictionary as being 3 characters. I have never had a problem importing using the Adagio import templates, but this did arouse my curiosity. Are they really 3 characters?


Brian Puddington
Geneva Financial Systems
Montreal
Joined: Mar 1999
Posts: 10,504
Adagio Master
Adagio Master
Joined: Mar 1999
Posts: 10,504
yy/mm/dd stored in individual bytes. Each byte can hold a number between 0 and 255. NULL dates are stored as 0/0/0.


Andrew Bates

Moderated by  Softrak Support 

Link Copied to Clipboard
Who's Online Now
0 members (), 70 guests, and 2 robots.
Key: Admin, Global Mod, Mod
Forum Statistics
Forums5
Topics14,679
Posts71,625
Members1,874
Most Online1,408
Dec 9th, 2025
November
S M T W T F S
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30
Powered by UBB.threads™ PHP Forum Software 8.0.0