<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>22 Mar 2020 14:51:54 Z</lastBuildDate><pubDate>17 Jun 2013 14:14:00 Z</pubDate><description>Hi ,&#13;
I encounter strange bugs in WM18 when import table to analysis. WM unable to import foreignkey if the link fields name of both table is not the same.&#13;
&#13;
for example will failed when import&#13;
&#13;
CREATE TABLE users (&#13;
users_key CHAR(36) NOT NULL PRIMARY KEY,&#13;
user_name VARCHAR(100) NOT NULL,&#13;
);&#13;
&#13;
&#13;
CREATE TABLE supplier (&#13;
supplier_key CHAR(36) NOT NULL PRIMARY KEY,&#13;
supplier_name VARCHAR(200) NOT NULL ,&#13;
rc_ouser CHAR(36) NOT NULL CONSTRAINT fk_rc_ouser_key REFERENCES users (users_key) ON DELETE RESTRICT ON UPDATE CASCADE,&#13;
rc_cuser CHAR(36) NOT NULL CONSTRAINT fk_rc_cuser_key REFERENCES users (users_key) ON DELETE RESTRICT ON UPDATE CASCADE&#13;
);&#13;
&#13;
&#13;
&#13;
if I change the "rc_ouser" to "users_key" then it work but i can't in this table design.&#13;
any work around OTHER THAN CREATE FOREIGN KEY MANUAL.</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/40845-wm18-import-sqlite-table-analysis/read.awp</link><title>[WM18] import sqlite table to analysis</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster><item><author>Meredith GUY</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/40845-wm18-import-sqlite-table-analysis-67707/read.awp</comments><pubDate>22 Mar 2020 14:51:54 Z</pubDate><description>Good day - did you ever get your foreign keys to work? I have a foreign key with exactly the same name as the primary key on the…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/40845-wm18-import-sqlite-table-analysis-67707/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/40845-wm18-import-sqlite-table-analysis-67707/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/40845-wm18-import-sqlite-table-analysis/read.awp">[WM18] import sqlite table to analysis</source><title>Re: [WM18] import sqlite table to analysis</title></item></channel></rss>
