Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
No Duplicates
Message
 
 
To
04/05/2010 08:54:13
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Miscellaneous
Thread ID:
01462570
Message ID:
01462993
Views:
42
>so if A is ur addlink table. How can you say delete A from Add link.
>
>Also im trying to translate your code into mine so...we are using to tables. not too sure why because we trying to mark for deletion duplicates from one table
>
>>A is an alias for AddLink table in my example. BTW, this code is taken from SQL Server, in VFP it's better to not use letters from A to J as table aliases in the select statement.
>>
>>>your first line.Is it delete A from addlink. So I take A to be a field but then u have A.address which makes it a table?is it supposed to b delete * from?

Delete myTable from myTable inner join Dups on myTable.DupKey = Dups.DupKey and myTable.PK > Dups.MinKey
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform