May 1, 2014 at 5:00 pm
Hello
I have a CLR SQL Function with a signature that looks like this...
public static long fnCreateKey(string value)
{
...
}
The function is working fine. However, in SSMS this is what the signature looks like...
[dbo].[fnCreateKey](@value [nvarchar](4000))
That function shouldn't get anything larger than varchar(9). Is there a way to change the type from a nvarchar to a varchar and change the length from 4000 to 9?
Thanks!
May 1, 2014 at 5:24 pm
cgreathouse (5/1/2014)
HelloI have a CLR SQL Function with a signature that looks like this...
public static long fnCreateKey(string value)
{
...
}
The function is working fine. However, in SSMS this is what the signature looks like...
[dbo].[fnCreateKey](@value [nvarchar](4000))
That function shouldn't get anything larger than varchar(9). Is there a way to change the type from a nvarchar to a varchar and change the length from 4000 to 9?
Thanks!
Hey there. A few things to mention:
Take care,
Solomon...
SQL# — https://SQLsharp.com/ ( SQLCLR library ofover 340 Functions and Procedures)
Sql Quantum Lift — https://SqlQuantumLift.com/ ( company )
Sql Quantum Leap — https://SqlQuantumLeap.com/ ( blog )
Info sites — Collations • Module Signing • SQLCLR
Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy