Viewing 15 posts - 5,731 through 5,745 (of 10,143 total)
vinay.varaala (9/4/2012)
Dispenser_pump_mapping TABLE:create table Dispenser_pump_mapping
(
dis_pump_map_id int IDENTITY,
simmons_id int not null,
dispenser int primary key ,
fp int not null,
nozzle int not null,
tank_id int foreign key (tank_id) references
Tank(tank_id)
)
So, what do...
For fast, accurate and documented assistance in answering your questions, please read this article.
Understanding and using APPLY, (I) and (II) Paul White
Hidden RBAR: Triangular Joins / The "Numbers" or "Tally" Table: What it is and how it replaces a loop Jeff Moden
September 4, 2012 at 9:00 am
Can you post the CREATE TABLE script for fuel.dbo.Dispenser_pump_mapping?
Looks to me like this column is possibly a FK.
For fast, accurate and documented assistance in answering your questions, please read this article.
Understanding and using APPLY, (I) and (II) Paul White
Hidden RBAR: Triangular Joins / The "Numbers" or "Tally" Table: What it is and how it replaces a loop Jeff Moden
September 4, 2012 at 8:37 am
Cadavre (9/4/2012)
I was once taken aside by a manager and told off for pronouncing "router" as "root-er" to one of our American clients. I was told that...
For fast, accurate and documented assistance in answering your questions, please read this article.
Understanding and using APPLY, (I) and (II) Paul White
Hidden RBAR: Triangular Joins / The "Numbers" or "Tally" Table: What it is and how it replaces a loop Jeff Moden
September 4, 2012 at 7:49 am
farooq.hbs (9/4/2012)
...Hoping will get the Solution for this
Thanks
Of course - but you will get a solution much quicker if you can set up DDL and DML for some sample data....
For fast, accurate and documented assistance in answering your questions, please read this article.
Understanding and using APPLY, (I) and (II) Paul White
Hidden RBAR: Triangular Joins / The "Numbers" or "Tally" Table: What it is and how it replaces a loop Jeff Moden
September 4, 2012 at 7:04 am
cmc_dermo (9/4/2012)
id really like to understand what the cross join does, but if it is too much time to describe i will go look it up 🙂
Every row on the...
For fast, accurate and documented assistance in answering your questions, please read this article.
Understanding and using APPLY, (I) and (II) Paul White
Hidden RBAR: Triangular Joins / The "Numbers" or "Tally" Table: What it is and how it replaces a loop Jeff Moden
September 4, 2012 at 6:53 am
cmc_dermo (9/4/2012)
believe it or not i tried to work it out and got it working...
That's exactly the result that everybody here hopes to see 😀
If there's anything you're unsure about,...
For fast, accurate and documented assistance in answering your questions, please read this article.
Understanding and using APPLY, (I) and (II) Paul White
Hidden RBAR: Triangular Joins / The "Numbers" or "Tally" Table: What it is and how it replaces a loop Jeff Moden
September 4, 2012 at 6:27 am
cmc_dermo (9/4/2012)
ok that works but i want to add week as well (sorry guys) as soon as i add vs.week = 36 it doesn't work.
It has to be part of...
For fast, accurate and documented assistance in answering your questions, please read this article.
Understanding and using APPLY, (I) and (II) Paul White
Hidden RBAR: Triangular Joins / The "Numbers" or "Tally" Table: What it is and how it replaces a loop Jeff Moden
September 4, 2012 at 6:14 am
cmc_dermo (9/4/2012)
Maybe i need to explain better?
I need all the items from the items table but i would also like the query to look in...
For fast, accurate and documented assistance in answering your questions, please read this article.
Understanding and using APPLY, (I) and (II) Paul White
Hidden RBAR: Triangular Joins / The "Numbers" or "Tally" Table: What it is and how it replaces a loop Jeff Moden
September 4, 2012 at 5:39 am
John Mitchell-245523 (9/4/2012)
For fast, accurate and documented assistance in answering your questions, please read this article.
Understanding and using APPLY, (I) and (II) Paul White
Hidden RBAR: Triangular Joins / The "Numbers" or "Tally" Table: What it is and how it replaces a loop Jeff Moden
September 4, 2012 at 5:12 am
SELECT
Items.Item_Desc,
Items.Updated_By,
it.Item_Type_Desc,
Opening_Balance = ISNULL(vs.Opening_Balance,0),
v.Venue_Name
FROM m_Venue v
CROSS JOIN m_Items AS Items -- every venue has every item
INNER JOIN m_Item_Type it
ON Items.Item_Type = it.Item_Type_ID
LEFT JOIN...
For fast, accurate and documented assistance in answering your questions, please read this article.
Understanding and using APPLY, (I) and (II) Paul White
Hidden RBAR: Triangular Joins / The "Numbers" or "Tally" Table: What it is and how it replaces a loop Jeff Moden
September 4, 2012 at 4:48 am
cmc_dermo (9/3/2012)
...I have a query where i would like to show all items from the items table even if no data exists for that item in the stock table...
Having read...
For fast, accurate and documented assistance in answering your questions, please read this article.
Understanding and using APPLY, (I) and (II) Paul White
Hidden RBAR: Triangular Joins / The "Numbers" or "Tally" Table: What it is and how it replaces a loop Jeff Moden
September 4, 2012 at 4:01 am
BrainDonor (9/4/2012)
ChrisM@Work (9/4/2012)
BrainDonor (9/4/2012)
ChrisM@Work (9/4/2012)
David Burrows (9/4/2012)
Fal (9/3/2012)
Quick poll: how would you pronounce the word "Route"?I'll explain why later, if I'm not too embarrassed. :blink:
Steve.
I am English so naturally...
For fast, accurate and documented assistance in answering your questions, please read this article.
Understanding and using APPLY, (I) and (II) Paul White
Hidden RBAR: Triangular Joins / The "Numbers" or "Tally" Table: What it is and how it replaces a loop Jeff Moden
September 4, 2012 at 2:52 am
BrainDonor (9/4/2012)
ChrisM@Work (9/4/2012)
David Burrows (9/4/2012)
Fal (9/3/2012)
Quick poll: how would you pronounce the word "Route"?I'll explain why later, if I'm not too embarrassed. :blink:
Steve.
I am English so naturally /ru?t/
Likewise -...
For fast, accurate and documented assistance in answering your questions, please read this article.
Understanding and using APPLY, (I) and (II) Paul White
Hidden RBAR: Triangular Joins / The "Numbers" or "Tally" Table: What it is and how it replaces a loop Jeff Moden
September 4, 2012 at 2:40 am
Without any prior experience of this type of data, I'd be tempted to add a time dimension. That would give you team history, the team as it is right now,...
For fast, accurate and documented assistance in answering your questions, please read this article.
Understanding and using APPLY, (I) and (II) Paul White
Hidden RBAR: Triangular Joins / The "Numbers" or "Tally" Table: What it is and how it replaces a loop Jeff Moden
September 4, 2012 at 2:17 am
David Burrows (9/4/2012)
Fal (9/3/2012)
Quick poll: how would you pronounce the word "Route"?I'll explain why later, if I'm not too embarrassed. :blink:
Steve.
I am English so naturally /ru?t/
Likewise - but how...
For fast, accurate and documented assistance in answering your questions, please read this article.
Understanding and using APPLY, (I) and (II) Paul White
Hidden RBAR: Triangular Joins / The "Numbers" or "Tally" Table: What it is and how it replaces a loop Jeff Moden
September 4, 2012 at 2:08 am
Viewing 15 posts - 5,731 through 5,745 (of 10,143 total)