Viewing 15 posts - 3,991 through 4,005 (of 5,109 total)
use this shortcut accidently all the time, too used to using it for a new tab in Firefox, which my brains translates to "new Query tab" in SSMS every now...
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
April 5, 2017 at 2:29 am
flash_os - Tuesday, April 4, 2017 9:55 PMStill I have a problem: 🙁
The error is telling...
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
April 5, 2017 at 1:52 am
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
April 5, 2017 at 1:49 am
What are you using to join your two tables? There appears to be no ID field in your data, so how do you know Peter? Vanderbroek is Peter vdb?
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
April 4, 2017 at 11:04 am
With no sample data, this is a little difficult. At a guess, maybe something like...DECLARE @Newprice decimal(12,2), @SKU varchar(10);
--Assume you provide the SKU so that it...
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
April 4, 2017 at 10:15 am
On a separate note I would also suggest using a JOIN clause, rather than a CROSS APPLY and then doing the matching in your WHERE clause:
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
April 4, 2017 at 10:07 am
Yes, the database will just run in compatibility mode 110, as it is a SQL 2012 database.
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
April 4, 2017 at 7:28 am
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
April 4, 2017 at 6:18 am
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
April 4, 2017 at 6:08 am
I could be missing the point entirely here, but do you mean something like this?USE DevTestDB;
GO
CREATE TABLE example
(id int IDENTITY,
...
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
April 4, 2017 at 6:05 am
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
April 4, 2017 at 1:55 am
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
April 3, 2017 at 12:05 pm
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
April 3, 2017 at 12:00 pm
For my own sanity, and probably others:SELECT CLAIM.DClaim.FormNbr, CLAIM.DClaim.AdmitDate, CLAIM.DClaim.Membernbr,
CLAIM.DClaim.TotalNetAmt, DClaim_1.TotalNetAmt AS TotalNetAmt2,
CLAIM.DClaimServiceLine.NetAmt, CLAIM.DClaimServiceLine.ProcedureCode,
...
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
April 3, 2017 at 11:51 am