Viewing 15 posts - 6,316 through 6,330 (of 8,731 total)
Could you post the whole query and the exact error you get?
Even better would be to have DDL (table definition) and sample data.
June 6, 2014 at 10:07 am
kimberly_lehman (6/6/2014)
June 6, 2014 at 9:52 am
thomashohner (6/5/2014)
But how would you alias those continents?:hehe::hehe:***Just Kidding
I could alias them and join them. 😀
SELECT *
FROM NorthAmerica na
JOIN SouthAmerica sa ON na.PanamaSouthBorder = sa.ColombiaNorthBorder
JOIN Europe ...
June 5, 2014 at 4:28 pm
Sean Lange (6/5/2014)
Luis Cazares (6/5/2014)
According to my education, America is a single continent divided in four regions: North, Central, South and Caribbean. According to the US...
June 5, 2014 at 3:40 pm
As most things, it depends.
According to my education, America is a single continent divided in four regions: North, Central, South and Caribbean. According to the US education, North America and...
June 5, 2014 at 3:28 pm
Sean Lange (6/5/2014)
SQLRNNR (6/5/2014)
Luis Cazares (6/5/2014)
TomThomson (6/5/2014)
Luis Cazares (6/5/2014)
Koen Verbeeck (6/5/2014)
SQL is delicious (6/5/2014)
June 5, 2014 at 2:49 pm
What's wrong with the code?
It's updating one row. What's missing?
CREATE TABLE numbers(
[Zvans no] nvarchar(255),
[Zvans uz] nvarchar(255),
oper int)
INSERT INTO numbers([Zvans no],[Zvans uz]) SELECT
'20233176','20263309' UNION ALL SELECT
'20233176','22843223' UNION ALL SELECT
'20233176','25432616' UNION ALL...
June 5, 2014 at 2:46 pm
TomThomson (6/5/2014)
Luis Cazares (6/5/2014)
Koen Verbeeck (6/5/2014)
SQL is delicious (6/5/2014)
June 5, 2014 at 2:26 pm
I couldn't get the results with the sample data that you posted, but this should be what you're looking for.
SELECT COUNT(qc.QualityID) AS TotalCount,
q.Qualitydesc
FROM Quality q
LEFT
JOIN...
June 5, 2014 at 2:23 pm
Koen Verbeeck (6/5/2014)
SQL is delicious (6/5/2014)
June 5, 2014 at 2:00 pm
Grant Fritchey (6/5/2014)
But, one little thing, just on the side, why write code where you put NOLOCK everywhere. If...
June 5, 2014 at 11:50 am
You might have a lot of additional and unneeded code. 😉
However, I'm only guessing.
SELECTi.ItemID AS ID,
i.ItemName AS Name,
ss.SupplyStatus AS CurrentStatus,
CAST(SUM (
CASE AdjustmentTypeID
WHEN 1 THEN VolumeOrNumber
WHEN 2 THEN VolumeOrNumber...
June 5, 2014 at 10:18 am
pietlinden (6/5/2014)
It looks like this works:
As long as you don't have a 2 on Answer column.
June 5, 2014 at 10:07 am
Most of the time, people believe that it won't happen to them.
In our case we could get some people to stop using them when we demonstrated that we were missing...
June 5, 2014 at 9:40 am
Viewing 15 posts - 6,316 through 6,330 (of 8,731 total)