Viewing 15 posts - 8,071 through 8,085 (of 8,760 total)
ayazniazi (6/8/2014)
June 8, 2014 at 10:38 pm
Hi, and welcome to the forum. We need some help from you in order to assist you. Have a look at this article on the subject; How to post data/code...
June 8, 2014 at 10:29 pm
Quick thought, is it an option to upgrade the VB6 application? VB 2008 has a conversion option, think that's the last version where it's included.
The problem sounds like the application...
June 8, 2014 at 10:26 pm
Matthew.Procter (6/8/2014)
Got an issue that I can't work out. I have 2 tables, with "clientcode" field that in both is a varchar(50)
If I query the tables individually, I get...
June 8, 2014 at 10:01 pm
Phil Parkin (6/8/2014)
The obvious (at least, to me) solution is to not use an identity column as the target.
+1
😎
June 8, 2014 at 3:36 am
For fun, a quick demonstration
😎
/* 250 Gb */
DECLARE @MY_NumberOfBytes NUMERIC(12,0) = 268435456000;
/* bytes */
SELECT
'Bytes' ...
June 8, 2014 at 3:29 am
Further Lynn's demonstration, here are few different ways the SQL Server handles NULL test (using Lynn's data).
😎
select * from
(
SELECT Column1, coalesce(Column2,0.0) as Column2
FROM NULL_TEST
) as x where x.Column2 <> 0
/*
[Expr1003]...
June 7, 2014 at 2:35 pm
Another version, similar to Ed's, this one uses CTEs to construct the ranges.
😎
USE tempdb;
GO
DECLARE @num AS TABLE (
Id INT IDENTITY(1, 1)
,Price MONEY
)
DECLARE @range AS TABLE (
Id INT IDENTITY(1, 1)
,Rng MONEY
)
INSERT...
June 6, 2014 at 11:30 pm
g.britton (6/6/2014)
Eirikur Eiriksson (6/6/2014)
Koen Verbeeck (6/6/2014)
gbritton1 (6/6/2014)
Koen Verbeeck (6/6/2014)
TomThomson (6/6/2014)
Just a couple of examples: A British colleague who held an A-level in math and a bachelor's in business swore...
June 6, 2014 at 12:19 pm
SQLTougherGuy (6/6/2014)
I am about to embark on a massive migration from SQL 2005 - 2008 R2. We have 200+ SSIS packages that were deployed as a file system on the...
June 6, 2014 at 12:11 pm
TomThomson (6/6/2014)
Koen Verbeeck (6/6/2014)
TomThomson (6/6/2014)
Just a couple of examples: A British colleague who held an A-level in math and a bachelor's in business swore you could, in fact, divide...
June 6, 2014 at 12:05 pm
Thank you for this filler Jeff, good read as always, and amazing thread! Only ran your initial code, any thoughts on how to eliminate the second scan?
😎
June 6, 2014 at 11:51 am
Koen Verbeeck (6/6/2014)
gbritton1 (6/6/2014)
Koen Verbeeck (6/6/2014)
TomThomson (6/6/2014)
Just a couple of examples: A British colleague who held an A-level in math and a bachelor's in business swore you could, in...
June 6, 2014 at 11:46 am
The Dixie Flatline (6/6/2014)
Eirikur Eiriksson (6/6/2014)
The Dixie Flatline (6/6/2014)
That will work but it's pricey in performance compared to just adding the column.
Agree on the costly part but exactly the same...
June 6, 2014 at 11:39 am
The Dixie Flatline (6/6/2014)
That will work but it's pricey in performance compared to just adding the column.
Agree on the costly part but exactly the same work then would be needed...
June 6, 2014 at 9:31 am
Viewing 15 posts - 8,071 through 8,085 (of 8,760 total)