Update - delete - insert (1 Viewer)

zezo2021

Member
Local time
Today, 01:39
Joined
Mar 25, 2021
Messages
381
is the stored procedure in the SQL server equal or replacement of the update - delete - append query in Access

I ask this question because views not support delete or update in SQL server
 

theDBguy

I’m here to help
Staff member
Local time
Yesterday, 16:39
Joined
Oct 29, 2018
Messages
21,474

cheekybuddha

AWF VIP
Local time
Today, 00:39
Joined
Jul 21, 2014
Messages
2,280
Sorry I'm a little confused by that statement.
I was as well.

But I think the OP is trying to equate a stored query in Access with a View in SQL.

So, I think it's not possible to have an 'Action View' like you would have an 'Action Query' in Access.

Yes, a Stored Procedure can be used in T-SQL for the purpose.

Or just use a Pass-through query with the UPDATE/INSERT/DELETE SQL statement.
 
Last edited:

zezo2021

Member
Local time
Today, 01:39
Joined
Mar 25, 2021
Messages
381
I was as well.

But I think the OP is trying to equate a stored query in Access with a View in SQL.

So, I think it's not possible to have an 'Action View' like you would have an 'Action Query' in Access.

Yes, a Stored Procedure can be used in T-SQL for the purpose.

Or just use a Pass-through query with the UPDATE/INSERT/DELETE SQL statement.

Thanks for your answer

(y)
 

spaLOGICng

Member
Local time
Yesterday, 16:39
Joined
Jul 27, 2012
Messages
127
is the stored procedure in the SQL server equal or replacement of the update - delete - append query in Access

I ask this question because views not support delete or update in SQL server
I use passthrough queries in Access to pass the execution statement with the parameters to SQL Server.

You can execute anything you want providing you have the requisite permissions.

Be sure to set Returns Records to False for Action Statements,
 

Users who are viewing this thread

Top Bottom