sync
This commit is contained in:
@@ -1,16 +1,16 @@
|
||||
{
|
||||
"id": "57ed331c-5e96-43bf-a88d-53b47658a9cc",
|
||||
"prefix": "idxCheck",
|
||||
"description": "IF block with check if an index exists",
|
||||
"body": "IF INDEXPROPERTY(OBJECT_ID('$table$'), '$idxName$' , 'IndexID' ) IS NOT NULL BEGIN;\r\n\t$CURSOR$\r\nEND;\r\n",
|
||||
"placeholders": [
|
||||
{
|
||||
"name": "table",
|
||||
"defaultValue": null
|
||||
},
|
||||
{
|
||||
"name": "idxName",
|
||||
"defaultValue": null
|
||||
}
|
||||
]
|
||||
{
|
||||
"id": "57ed331c-5e96-43bf-a88d-53b47658a9cc",
|
||||
"prefix": "idxCheck",
|
||||
"description": "IF block with check if an index exists",
|
||||
"body": "IF INDEXPROPERTY(OBJECT_ID('$table$'), '$idxName$' , 'IndexID' ) IS NOT NULL BEGIN;\r\n\t$CURSOR$\r\nEND;\r\n",
|
||||
"placeholders": [
|
||||
{
|
||||
"name": "table",
|
||||
"defaultValue": null
|
||||
},
|
||||
{
|
||||
"name": "idxName",
|
||||
"defaultValue": null
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user