Hi,
I have a sql statement that joins to 4 tables with inner join
and at the last I have where clause. When I execute the statements it runs
the inner join and then applies the where clause on the results.
Is this normal?
/
s...
more >>
I have a unbelievably stupid problem that I can't figure out. My table is
imported from access and contains a column with data type datetime. I want
to be able to sum the data (which is a door counter for our store) to show
me all of the traffic for the day, then display the date as 1/1/200...
more >>
I have the following query that runs fine in SQL 2000 but get errors in 2005.
insert into dss_afe_actual_estimate_fact
SELECT dbo.dss_gl_detail_fact.account_key,
dbo.dss_gl_detail_fact.reference_key,
SUM(ISNULL(dbo.dss_gl_detail_fact.balance, 0)) AS afe_actual_amt,
...
more >>
Hi,
I am trying to work out a way of finding out if certain values do not appear
in the group by e.g.
ID Ref
1 1
1 2
2 3
2 2
3 1
3 1
I would only want to return ID 1 and 3 as these are the only ID's that dont
have a Ref of 3, if that makes any sens...
more >>
Hi - Have query structure language question
Hi have two tables,
Table A has a picklist for a field of limited options - say two, X, Y or Z
Table B 'looks up' to those values, so new entrys, must be either X, Y or Z,
but other data is entered, such as a date. So over time there will be many...
more >>