Viewing 15 posts - 256 through 270 (of 645 total)
As a few people have mentioned, this is fairly easy to accomplish with a Regular Expression. The following pattern identifies the variations found in your data with respect to being...
December 9, 2016 at 2:46 pm
cmartel 20772 (9/12/2016)
I would like to create a «MyCurrency» user defined type...
September 12, 2016 at 3:51 pm
Sergiy (8/29/2016)
DECLARE @Amount MONEY, @Term INT
DECLARE @fRate float, @dRate decimal (38,28)
SELECT @Amount = 1000000, @Term = 17*3*13*7*19*23*43*11
SELECT @fRate = CONVERT(FLOAT, @Amount)/@Term,
@dRate = CONVERT(DECIMAL(38,28), @Amount)/@Term
SELECT @fRate [@fRate],...
August 30, 2016 at 1:05 am
h.tobisch (8/24/2016)
set ansi_warnings on
declare @i int = 1 / 0
declare @j-2 int = 1
set @j-2 = 1/0
select [@i]=@i , [@j]=@j --> yields @i =...
August 24, 2016 at 2:14 pm
h.tobisch (8/24/2016)
Moreover - there is no result generated at all.
What happens is that...
August 24, 2016 at 9:47 am
N_Muller (8/23/2016)
SQL Server doesn't allow to create filtered indexes or indexes on computed columns in temp tables with ansi warnings turned off. Here's a simple example:
More specifically, SQL Server...
August 23, 2016 at 9:24 pm
Kevin Gill (8/23/2016)
August 23, 2016 at 9:00 am
If the goal is simply to avoid the warnings for aggregate operations, that can be handled via ISNULL rather than SET ANSI_WARNINGS OFF:
SELECT SUM(tmp.val) AS [SomeSUM]
FROM (VALUES (1),...
August 23, 2016 at 8:54 am
This script does not actually list all objects since User-Defined Types are not included. Please see my answer on Stack Overflow for a script that lists all SQLCLR objects:
Also, I...
August 23, 2016 at 7:43 am
Lynn Pettis (8/12/2016)
August 12, 2016 at 1:28 pm
Lynn Pettis (8/9/2016)
Here is the itvf I created for the first 53...
August 12, 2016 at 1:06 am
Lynn Pettis (8/9/2016)
August 9, 2016 at 2:18 pm
Lynn Pettis (7/18/2016)
August 9, 2016 at 1:42 pm
Good and interesting question. Here are some notes regarding the explanation of the answer, as copied here:
Due to an odd behaviour that is not described at https://msdn.microsoft.com/en-us/library/ms175874.aspx, SQL...
August 8, 2016 at 5:18 pm
The strategy described in the post by Michael J Swart that you linked to is what I have described in detail in the following SSC article: Restructure 100 Million Row...
August 8, 2016 at 12:28 am
Viewing 15 posts - 256 through 270 (of 645 total)