Viewing 15 posts - 3,871 through 3,885 (of 8,753 total)
Jeff Moden (1/26/2016)
January 27, 2016 at 12:07 pm
Quick suggestion, requires SQL Server 2012 or later
😎
USE tempdb;
GO
SET NOCOUNT ON;
IF OBJECT_ID(N'dbo.SampleTable') IS NOT NULL DROP TABLE dbo.SampleTable;
CREATE TABLE [dbo].[SampleTable](
[ID] [int] IDENTITY(1,1) NOT NULL,
[Measure1] [float] NULL,
[Measure2] [float] NULL,
)
--Sample Data:
INSERT...
January 25, 2016 at 10:25 pm
Microsoft ended the support for the Itanium architecture back in 2010, last versions supported were 2008R2 Windows Server and 2008R2 SQL Server. Superdome X uses the newer Xeon processors, totally...
January 25, 2016 at 9:40 pm
cheshirefox (1/25/2016)
I'm beginning the process of planning a physical server migration.
Due to our wildly volatile environment, we require physical database servers w/ data residing on a flash appliance.
Is there...
January 25, 2016 at 1:58 pm
Looks like abdellahmoh2016 has left the building
😎
January 25, 2016 at 12:49 pm
January 25, 2016 at 12:26 pm
Jeff Moden (1/25/2016)
January 25, 2016 at 12:23 pm
spaghettidba (1/25/2016)
Eirikur Eiriksson (1/25/2016)
spaghettidba (1/25/2016)
Eirikur Eiriksson (1/25/2016)
spaghettidba (1/25/2016)
SQL Server 2012 supports the FORMAT function:
select format(GETDATE(), 'dd-MMM-YYYY')
Gianluca, don't use the format function, it has terrible performance.
😎
It is a CLR function, so...
January 25, 2016 at 12:06 pm
Quick test set, similar results to the one Jeff posted
😎USE tempdb;
GO
SET NOCOUNT ON;
IF OBJECT_ID(N'dbo.TBL_DATES') IS NOT NULL DROP TABLE dbo.TBL_DATES;
CREATE TABLE dbo.TBL_DATES
(
TD_DATE DATETIME ...
January 25, 2016 at 11:55 am
Luis Cazares (1/25/2016)
ben.brugman (1/25/2016)
Luis Cazares (1/25/2016)
the problem often relies on keeping the default (us_english)
I do strongly object to the notion that the default language is English.
I know in almost...
January 25, 2016 at 10:43 am
JustMarie (1/25/2016)
January 25, 2016 at 10:18 am
spaghettidba (1/25/2016)
Eirikur Eiriksson (1/25/2016)
spaghettidba (1/25/2016)
Eirikur Eiriksson (1/25/2016)
spaghettidba (1/25/2016)
SQL Server 2012 supports the FORMAT function:
select format(GETDATE(), 'dd-MMM-YYYY')
Gianluca, don't use the format function, it has terrible performance.
😎
It is a CLR function, so...
January 25, 2016 at 9:13 am
spaghettidba (1/25/2016)
Eirikur Eiriksson (1/25/2016)
spaghettidba (1/25/2016)
SQL Server 2012 supports the FORMAT function:
select format(GETDATE(), 'dd-MMM-YYYY')
Gianluca, don't use the format function, it has terrible performance.
😎
It is a CLR function, so there's a startup...
January 25, 2016 at 9:01 am
If I'm reading this correctly then the sproc returns sales by either a product, a customer or both. This kind of code is not likely to benefit from recompilation as...
January 25, 2016 at 8:41 am
spaghettidba (1/25/2016)
SQL Server 2012 supports the FORMAT function:
select format(GETDATE(), 'dd-MMM-YYYY')
Gianluca, don't use the format function, it has terrible performance.
😎
January 25, 2016 at 8:24 am
Viewing 15 posts - 3,871 through 3,885 (of 8,753 total)