在按照本教程构建我的应用程序时,大家好
https://medium.com/@tunvirrahmantusher/create-ipa-and-apk-from-react-native-72fe53c6a8db
我遇到了这个问题
CREATE PROCEDURE dbo.[Upd_table1]
(@switch INT, @ID INT,
@col1 INT, @col2 INT, @col3 INT, @col4 INT, @col5 INT,
@col6 INT, @col7 INT, @col8 INT, @col9 INT)
AS
BEGIN
IF (@switch = 1)
UPDATE dbo.table1
SET col1 = @col1, col4 = @col4, col5 = @col5, col6 = @col6
WHERE ID = @ID
ELSE IF (@switch = 2)
UPDATE dbo.table1
SET col2 = @col2, col9 = @col9
WHERE ID = @ID
ELSE IF (@switch = 3)
UPDATE dbo.table1
SET col3 = @col3, col7 = @col7, col8 = @col8
WHERE ID = @ID
END
请帮助我