hi all,
i write a code for deleting a virtual table record as shown below.
delete from [Sample DB].[dbo].Session
where [Sample DB].[dbo].Session.[User ID] ='xxxx'
it shows an error like
"View or function 'Sample DB.dbo.Session' is not updatable because the modification affects multiple base tables."
is it possible to delete virtual table records from sql server .suggest me.
regards
AKHIL
0
Comments
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
I guess the idea is to logoff a User with this automatically by some piece of TSQL code.
To accomplish this, you should look into using the KILL command (SQL) ...
NAV/SQL Performance Optimization & Troubleshooting
STRYK System Improvement
The Blog - The Book - The Tool
Read the online Help for the kill command.
Regards