当前位置:网站首页>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
边栏推荐
- [groovy] closure (closure parameter list rule | default parameter list | do not receive parameters | receive custom parameters)
- [goweb development] Introduction to authentication modes based on cookies, sessions and JWT tokens
- AutoCAD - feature matching
- [ideas] 2021 may day mathematical modeling competition / May Day mathematical modeling ideas + references + codes
- Download the details and sequence of the original data access from the ENA database in EBI
- How should programmers learn mathematics
- 2021 electrician cup (the 12th "China Society of electrical engineering Cup" National Undergraduate electrician mathematical modeling) detailed ideas + codes + references
- 【acwing】837. Number of connected block points
- [crampon programming] lintcode decoding Encyclopedia - 1100 strange printer
- Pdf to DWG in CAD
猜你喜欢

Setting up redis cluster cluster under Windows

Qt蓝牙:搜索蓝牙设备的类——QBluetoothDeviceDiscoveryAgent

CUDA Programming atomic operation atomicadd reports error err:msb3721, return code 1

AutoCAD - workspace settings
![Private collection project practice sharing [Yugong series] February 2022 U3D full stack class 006 unity toolbar](/img/bf/fb4e85143d1461a2026c88cda4a18d.jpg)
Private collection project practice sharing [Yugong series] February 2022 U3D full stack class 006 unity toolbar

The 22nd Spring Festival Gala, an immersive stage for the yuan universe to shine into reality

2021 higher education social cup mathematical modeling national tournament ABCD questions - problem solving ideas - Mathematical Modeling

Download the details and sequence of the original data access from the ENA database in EBI

Use assimp library to read MTL file data

Number theoretic function and its summation to be updated
随机推荐
AutoCAD - stretching
CSDN body auto generate directory
[crampon game] MC tutorial - first day of survival
AutoCAD - Document Management
Download the details and sequence of the original data access from the ENA database in EBI
Neural networks and deep learning Chapter 4: feedforward neural networks reading questions
Redis 排查大 key 的4种方法,优化必备
Data security -- 14 -- Analysis of privacy protection governance
"Measuring curve length" of CAD dream drawing
Manually implement heap sorting -838 Heap sort
[groovy] closure (closure as function parameter | code example)
AutoCAD - graphic input and output
Interface joint commissioning test script optimization V5.0 (end)
中国金刚烷行业研究与投资预测报告(2022版)
[Business Research Report] Research Report on male consumption trends in other economic times -- with download link
Is $20billion a little less? Cisco is interested in Splunk?
[groovy] closure (closure call | closure default parameter it | code example)
Uncover the seven quirky brain circuits necessary for technology leaders
The difference between bundle, chunk and module
2021 higher education social cup mathematical modeling national tournament ABCD questions - problem solving ideas - Mathematical Modeling