Skip to content

Commit 3e3eaf5

Browse files
committed
Fix casing on variable call from @SQLSTring to @SQLString on line 209 and fix casing from sp_executeSQL to sp_executesql on line 435
1 parent dfee65a commit 3e3eaf5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sp_helpme.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ BEGIN
206206
-- If @ObjectName not in sysobjects, try systypes
207207
IF @ObjID IS NULL
208208
BEGIN
209-
SET @SQLSTring = N'SELECT @ObjID = user_type_id
209+
SET @SQLString = N'SELECT @ObjID = user_type_id
210210
FROM sys.types
211211
WHERE name = PARSENAME(@ObjectName,1);';
212212
SET @ParmDefinition = N'@ObjectName SYSNAME
@@ -432,7 +432,7 @@ BEGIN
432432
AND deps.deptype = 1;';
433433
SET @ParmDefinition = N'@ObjID INT, @HasDepen INT OUTPUT';
434434

435-
EXEC sp_executeSQL @SQLString
435+
EXEC sp_executesql @SQLString
436436
,@ParmDefinition
437437
,@ObjID
438438
,@HasDepen OUTPUT;

0 commit comments

Comments
 (0)