Viewing 15 posts - 931 through 945 (of 8,416 total)
I'm not sure you are reading our replies, but this could help you:
CREATE TABLE dbo.Test
(
Column1 nvarchar(25) NULL,
Column2...
January 27, 2012 at 2:24 am
Glad to hear it. If you need more information on *how* it works, please see:
January 27, 2012 at 1:01 am
Koen Verbeeck (1/26/2012)
January 27, 2012 at 12:59 am
sudhirnune (1/27/2012)
I that case the Size is defined as 100, should...
January 27, 2012 at 12:57 am
Stewart "Arturius" Campbell (1/27/2012)
The aim was to illuminate on a badly documented subject within MSSQL, not "trick" people.
Benefit of the doubt then.
Another possiblity for a right answer could have been:
SELECT
...
January 27, 2012 at 12:40 am
anandtr (1/27/2012)
January 27, 2012 at 12:11 am
Jeff Moden (1/26/2012)
January 27, 2012 at 12:02 am
sudhirnune (1/26/2012)
Which shows me the Column Size where NVARCHAR is Declared is shown Double (200 Instead on 100).
Unicode data requires 2 bytes per character.
January 26, 2012 at 11:59 pm
Koen Verbeeck (1/26/2012)
For starters, check out the datetimeoffset datatype:
One of the many issues with DATETIMEOFFSET is it doesn't handle things like daylight savings time.
January 26, 2012 at 11:56 pm
CREATE TABLE dbo.Test
(
Date1 date NOT NULL,
Date2 AS DATEADD(MONTH, 1, Date1)
);
January 26, 2012 at 11:55 pm
Many people choose to store dates and times in UTC (i.e. without a time zone). There is a good explanation of the technique here:
http://sqlblog.com/blogs/aaron_bertrand/archive/2012/01/10/t-sql-tuesday-26-second-chances.aspx
January 26, 2012 at 11:53 pm
Jeff Moden (1/26/2012)
SELECT TableName.SomeColumnName
...
January 26, 2012 at 11:51 pm
ningaraju.n (1/26/2012)
Code is not much complex just concatenating the big string thats it.
Just post a very small section of code that shows your technique. Are you using a WHILE...
January 26, 2012 at 11:49 pm
ningaraju.n (1/24/2012)
I have stored procedure where i am building an xml by Concatenating the string
at different levels and at last converting string into xml.
Problem here is in the...
January 26, 2012 at 11:48 pm
-- returns 1925
SELECT
[Days Since Previous Post] =
DATEDIFF(DAY, 'October 20, 2006', GETDATE());
January 26, 2012 at 11:43 pm
Viewing 15 posts - 931 through 945 (of 8,416 total)