Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding a manual record from a SQL
Message
From
17/07/2001 00:30:15
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Adding a manual record from a SQL
Miscellaneous
Thread ID:
00531353
Message ID:
00531353
Views:
50
In a SQL, I am extracting some records from a table. I want to union that in order to add one record manually at the end. I have a syntax like this:
SELECT Description AS Descript,Numero FROM GROUP WHERE IRegion>0_
 UNION SELECT 'Public' AS Descript,0 AS Numero FROM GROUP ORDER BY 2
I know this is not the correct syntax. As if I have no record in GROUP, I end up with no result. What is the proper syntax?
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Next
Reply
Map
View

Click here to load this message in the networking platform