Viewing 15 posts - 31 through 45 (of 187 total)
Roy Ernest (2/2/2009)
You can create a Group and give Select Permission to the appropriate Tables to that group. After that add the Users to that group. Simple and sweet.
Hi All,
I'm...
April 28, 2010 at 3:55 am
Ok, thanks all for the responses, looks like I had it right the first time! Oh well, I'll stick with dynamic SQL.
Thanks
April 1, 2010 at 4:08 am
Hi Matt,
Can you give me an example please?
Thanks
February 2, 2010 at 12:18 am
As simple as that! Thanks for your help!
February 1, 2010 at 2:47 pm
Hi Gail,
Yes I appreciate what you are saying, I will try and add more info to the post later when I've got a bit more time. 🙂
Thanks
David
January 26, 2010 at 9:49 am
Ok, here is a definition of the destination table:
DECLARE @Temp TABLE
(
version_id int,
customer_id char(8),
product_id char(20),
month_id char(2),
fiscal_year char(2),
units numeric(18, 4),
value numeric(18, 4)
)
The data that will be inserted into this table comes from...
January 26, 2010 at 8:24 am
Thank you for the quick response 🙂
The tables are in a third party db so I don't have the option to re-design them.
January 25, 2010 at 9:44 am
Have you got a SQL2K version of that please? This particular server is still on the old version so it doesn't like the CTE.
Thanks
David
November 2, 2009 at 10:12 am
I've had a bit of a play and have simplified what I am asking for help on, first the sample code and data:
use tempdb
go
--Create table to hold this years sales
CREATE...
November 2, 2009 at 9:45 am
Yes, it is a bit unclear I must admit! Ok, I'll try and explain, so in the first instance I needed to work out what the average selling price and...
October 19, 2009 at 9:00 am
Hi Jack,
The output only needs to be Item, Total Value, Total Qty, Avg Value and Avg Qty, the last two only having values if they were sold during the Period/Year...
October 19, 2009 at 8:29 am
Viewing 15 posts - 31 through 45 (of 187 total)