Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sql zap?
Message
 
 
To
17/11/2003 07:57:11
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Miscellaneous
Thread ID:
00850590
Message ID:
00850701
Views:
17
Harry,

It's possible you don't have delete rights on the table or that foreign key constraints are preventing the rows from being deleted.

>want to zap a table on sql server
>In line with MSDN's topic
>have tried
>
>SQLPREPARE(gnhandle,'Delete from vizkeys','')
>SQLEXEC(gnhandle)
>
>which doesn't report any error but doensn't delete anything either.
>
>variations like "Delete from vizkeys where realkey<>'.NULL.'" (which should delete all) don't work either.
>
>Whats the secret?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform