Viewing 15 posts - 181 through 195 (of 819 total)
philip.cullingworth (7/26/2016)
Therefore, as with all variable length character fields, trailing spaces are ignored.Philip
That's not true!
Trailing spaces are stored also in nvarchar e varchar datatype.
Compare and len function ignore trailing spaces.
July 26, 2016 at 1:44 am
It's not a bug and nor a feature.
The first database is stored in sys.databases with double blank.
As you know, the compare condition and len function don't matter of trailing spaces.
So,...
July 26, 2016 at 1:11 am
I found this:
https://msdn.microsoft.com/en-us/library/ms141679.aspx
From BOL:
Truncations. A truncation is less serious than an error. A truncation generates results that might be usable or even desirable. You can elect to treat truncations as...
July 13, 2016 at 8:45 am
The second option is useless, but it also is correct.
SELECT @p = N'@m varchar(200)="event message", @d datetime=getdate(), @u varchar(10)="Steve" '
I.e. this code returns 1 despite @p is initialized with 1234.
declare...
June 30, 2016 at 1:54 am
Stewart "Arturius" Campbell (6/13/2016)
Nice one, thanks JuniorHad to read up on this, so learned something today...
+1
😉
June 14, 2016 at 1:04 am
TimCarrett (6/6/2016)
Which implies that ISJSON is available in SQL Server 2016 for In...
June 7, 2016 at 2:26 am
Viewing 15 posts - 181 through 195 (of 819 total)