Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SELECT statement in an INSERT statement
Message
De
02/05/2005 11:06:21
James Blackburn
Qualty Design Systems, Inc.
Kuna, Idaho, États-Unis
 
 
À
01/05/2005 22:27:09
Information générale
Forum:
Sybase
Catégorie:
Syntaxe SQL
Divers
Thread ID:
01010070
Message ID:
01010143
Vues:
28
Winan,

I am not sure what version of ASA you are using. In version 8 or 9 you can use proxy tables to do this. You would setup a proxy table to the Access table and then do your select from ASA.

>Dear All,
>I want to use a SELECT statement in an INSERT statement but different Database (ASA and Ms. Access)
>I have 2 tables in 2 different databases.
>
>Table ZN is in ASA
>Table PAC is in Ms. Access
>
>How to insert ZN by using SELECT statement?
>
>I thought it is impossible to use below SQL statement..
>
>Dim mInsertZN As String
>mInsertZN = "INSERT INTO ZN (ZN) SELECT DISTINCT ZN FROM PAC ORDER BY ZN"
>
>I need advise ..
>
>many thanks in advance
>Regards
>Winanjaya
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform