Viewing 15 posts - 1,906 through 1,920 (of 2,171 total)
Will this code do?
-- prepare test data
declare @table table (s int, item int)
insert @table
select 1, 1 union all
select 1, 2 union all
select 1, 3 union all
select 2, 2 union all
select 3, 5
N 56°04'39.16"
E 12°55'05.25"
-- Prepare test data
declare @test table (Location2 varchar(7), Measure_Name varchar(8), Location1 varchar(7), Measure_Value smallmoney)
insert @test
select 'S00152', 'TY_Sales', 'Chicago', 2111.05 union all
select 'S00152', 'PY_Sales', 'Chicago', 2200.65 union all
select...
N 56°04'39.16"
E 12°55'05.25"
You have to explicit set GRANT on every SP you want the user to have acccess to.
N 56°04'39.16"
E 12°55'05.25"
-- Prepare test data
declare @table table (seq tinyint, area smallint, page tinyint)
insert @table
select 1, 300, 0 union all
select 1, 200, 0 union all
select 1, 100, 0...
N 56°04'39.16"
E 12°55'05.25"
SELECT Code,
COUNT(*)
FROM Table
GROUP BY Code
HAVING COUNT(*) > 1
N 56°04'39.16"
E 12°55'05.25"
Viewing 15 posts - 1,906 through 1,920 (of 2,171 total)