Viewing 15 posts - 121 through 135 (of 1,228 total)
Suth (11/13/2015)
Getting a errorMsg 245, Level 16, State 1, Line 1
Conversion failed when converting the varchar value ',' to data type int.
In the APPLY block, cast r.id to varchar(n),...
November 13, 2015 at 10:49 am
ChrisM@Work (8/19/2015)
serviceaellis (8/18/2015)
The worksheet is the result that needs to be produced with the highlighted row.
in the Access file the two tables are:
1. PersonMembership - with all the...
August 19, 2015 at 12:17 pm
coolchaitu (8/18/2015)
Datatype of te.TripEndTime. You had asked what is the datatype of te.TripEndTime.
It wasn't clear.
You should change the datatype to datetime as a matter of priority.
Did you run the...
August 18, 2015 at 12:07 pm
coolchaitu (8/18/2015)
Its datatype is varchar
Datatype of what?
August 18, 2015 at 11:39 am
The south east appears to be still quite bouyant after a peak in June/July. There used to be a lot of activity based around Exeter but I haven't seen any...
August 17, 2015 at 11:39 am
Your result set shows two different photo id's for the same user id. Try using APPLY to return a single row from the photos table, like this:
SELECT
p.Id [SenderId],
p.Username,...
July 26, 2015 at 4:22 am
thenewbee (7/22/2015)
I am working on a legacy application and one of the view has degraded performance. I have to fix it,
but the query execution makes me mad as it...
July 26, 2015 at 4:14 am
thenewbee (7/26/2015)
Attached a test plan, Is it possible to avoid the table scan & clustered index scan in this scenario
Yes. Create covering indexes for both tables, something like this:
CREATE INDEX...
July 26, 2015 at 4:11 am
Eirikur Eiriksson (6/28/2015)
ChrisM@home (6/28/2015)
SET STATISTICS IO ON;
WITH rCTE AS (
SELECT...
June 28, 2015 at 10:04 am
This is about the simplest rCTE that I can think of. No 8k pages anywhere yet Statistics IO reports logical reads:
SET STATISTICS IO ON;
WITH rCTE AS (
SELECT n = 1
UNION...
June 28, 2015 at 7:21 am
dfischer 36834 (6/26/2015)
Very interesting. However, the stated result was for a comma delimeted countyID not countyName. When I changed countyName to CountyID I got a conversion error. Not sure why.
Try...
June 26, 2015 at 12:16 pm
pjn (6/23/2015)
June 23, 2015 at 10:38 am
lmarkum (6/19/2015)
June 19, 2015 at 2:48 pm
GilaMonster (6/4/2015)
ChrisM@Work (6/4/2015)
spectra (6/4/2015)
My...
June 4, 2015 at 3:28 pm
Viewing 15 posts - 121 through 135 (of 1,228 total)