我需要在存储过程中生成如下所示的字符串。select case when Sex like '%' then 'Person' end as Sex from tableName; 在存储过程中,我生成了这样的代码。You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version
我已经在SQL中创建了一个存储过程,并将其配置为与DataTables一起使用。存储过程接受3个变量。1.3635(整数) 2.我试着在"1“的周围加了单引号和双引号,但是没有什么区别。如果我在SQL Server Management Studio (即exec dbo.EXSP_CIA_Events_Timeline_List @Ext_Acquisition_ID=3635,@CalcType