<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>27 Jan 2018 12:19:00 Z</lastBuildDate><pubDate>27 Jan 2018 12:19:00 Z</pubDate><description>Hello,&#13;
&#13;
WD 22, Postgresql&#13;
&#13;
I tried creating a new analysis to check the sql script generation facility.&#13;
&#13;
File: accountname&#13;
&#13;
companycode varchar(10)&#13;
accountguid varchar(32)&#13;
accountname varchar(60) key with duplicates&#13;
companycodeaccountguid compisitekey unique&#13;
&#13;
When I tried to generate the sql script through Analysis - Analysis - Generation - Generate SQL scripts, I found the following things missing.&#13;
&#13;
1. No way to define a primary key.&#13;
2. index is created on account name fields.&#13;
3. index is created on companycode+accountpk with NO unique key word, means duplicate values could enter.&#13;
&#13;
Is this the way the 'GENERATE SCRIPT' gives us the code ? I feel it's incomplete.&#13;
&#13;
What else is the way to maintain Analysis and its subsequent script generation in Windev ?&#13;
&#13;
Happiness Always&#13;
BKR Sivaprakash</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/64232-wd22-postgresql-analysis-and-subsequent-sql-generation/read.awp</link><title>[WD22] Postgresql - Analysis and subsequent sql generation</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster></channel></rss>
