errorinn er <incorrect syntax near keyword VALUES>
CREATE PROCEDURE insert_kiosk_client
@table_name varchar(50),
@kiosk_id int,
@file_date datetime,
@file_size int,
@file_name varchar(255)
AS
DECLARE @Sql varchar(1000)
SET @Sql = ‘INSERT INTO ’+@table_name+'
(
kiosk_id,
file_date,
file_size,
file_name
)
VALUES
(' + @kiosk_id + ‘,’ + @file_date + ‘,’ + @file_size + ‘,’ + @file_name +')'
EXEC(@Sql)
GO
VALUES
<br><br>- Moose ltd. -
- Moose ltd. -