当前位置:网站首页>Sqlserver stored procedures pass array parameters
Sqlserver stored procedures pass array parameters
2022-07-05 04:50:00 【Cup dissatisfaction】
Problem description
Create PROCEDURE [dbo].[Ly_Kc_GetKcInfoById]
@strKcId varchar(500)-- The value to be passed in is ‘1,2,3,4,5’
select * from Table where Id in (@strKcId )
explain Id by Int type
The parameter ‘1,2,3,4,5’ Pass it on , Executing a stored procedure will report an error .
terms of settlement :
select * from Table where CHARINDEX(','+cast(Id as varchar(20))+',' , ','[email protected]+',')>0
边栏推荐
- Matplotlib draws three-dimensional scatter and surface graphs
- Introduce Hamming distance and calculation examples
- AutoCAD - Center zoom
- How should programmers learn mathematics
- Raki's notes on reading paper: code and named entity recognition in stackoverflow
- China needle coke industry development research and investment value report (2022 Edition)
- AutoCAD - scaling
- Practice | mobile end practice
- Key review route of probability theory and mathematical statistics examination
- 49 pictures and 26 questions explain in detail what is WiFi?
猜你喜欢
![[groovy] closure (closure parameter binding | curry function | rcurry function | ncurry function | code example)](/img/90/0cf08ae6fea61891e3e1fdf29d310c.jpg)
[groovy] closure (closure parameter binding | curry function | rcurry function | ncurry function | code example)

54. 螺旋矩阵 & 59. 螺旋矩阵 II ●●

Setting up redis cluster cluster under Windows
![[groovy] closure (closure parameter list rule | default parameter list | do not receive parameters | receive custom parameters)](/img/36/c4206a95c007e41df628d99e06ba18.jpg)
[groovy] closure (closure parameter list rule | default parameter list | do not receive parameters | receive custom parameters)

SQL set operation

2022-2028 global and Chinese FPGA prototype system Market Research Report

Special information | real estate and office buildings - 22.1.9

QT Bluetooth: a class for searching Bluetooth devices -- qbluetooth devicediscoveryagent

Solutions and answers for the 2021 Shenzhen cup

Number theoretic function and its summation to be updated
随机推荐
AutoCAD - command repetition, undo and redo
Variable category (automatic, static, register, external)
The principle of attention mechanism and its application in seq2seq (bahadanau attention)
Function overloading
Pointer function (basic)
You Li takes you to talk about C language 7 (define constants and macros)
CUDA Programming atomic operation atomicadd reports error err:msb3721, return code 1
Private collection project practice sharing [Yugong series] February 2022 U3D full stack class 006 unity toolbar
2022-2028 global and Chinese equipment as a Service Market Research Report
Chapter 6 text processing tools for shell programming (awk)
Neural networks and deep learning Chapter 6: Circular neural networks reading questions
Number theoretic function and its summation to be updated
2021 electrician Cup - high speed rail traction power supply system operation data analysis and equivalent modeling ideas + code
Leetcode 222 number of nodes of complete binary tree
AutoCAD - set layer
2021 electrician cup (the 12th "China Society of electrical engineering Cup" National Undergraduate electrician mathematical modeling) detailed ideas + codes + references
中国金刚烷行业研究与投资预测报告(2022版)
2022 thinking of mathematical modeling C problem of American college students / analysis of 2022 American competition C problem
MySQL audit log archiving
JVM 原理和流程简介