Viewing 15 posts - 46 through 60 (of 166 total)
Hi Adi, thanks for your reply, sample and appreciate your time on this post.
Hi Jeff,
Thanks for your reply
So from your statement it's not good to use the function which i...
March 16, 2014 at 3:34 pm
Hi Adi,
Thanks for your reply and sample. I just gave the sample data. Here is the table structure which i will import the query output to the table.
Create table DataFiles(IdData...
March 16, 2014 at 7:12 am
Awesome. We reached the exact output. Thank you so much and appreciate your great effort and help.
Thank you Gentleman.
March 11, 2014 at 7:23 pm
My next try
SELECT @sql = N'
SELECT Name' +
(
SELECT ', [' + d + ']=MAX(CASE WHEN Date_Of_Day=''' + d +''' THEN Records ELSE (a.GrocessaryStoreDelay...
March 11, 2014 at 7:02 pm
Hi Dwain,
Thanks for your reply. I am sorry if i didn't explain properly.
if you execute the query you have given, you can see some of the column values are 0....
March 11, 2014 at 6:53 pm
Hi Dwain,
I tried to change the date logic as dynamic and he is my try
CREATE TABLE #GrocessaryStore
(
IdGrocessaryStore int Primary key
...
March 11, 2014 at 7:35 am
Hi dwain,
Thank you so much. I will definitely try and and if i struck up and if i really need your assistance i will drop it here.
March 11, 2014 at 5:05 am
Hi Dwain,
Thanks for your reply and i ran your logic. you have built logic just for as per my expected result. But i have gave some test data for executing...
March 10, 2014 at 8:15 pm
Hi Lynn,
Thanks for your reply and here is the sample data.
Table: GrocessaryStore
IdGrocessaryStore int identity(1,1) Primary key,
Name varchar(50),GrocessaryStoreDelay int, DataFrequency int, StoreID varchar(20)
With GrocessaryStore as (
select 1 as...
March 9, 2014 at 10:25 am
Hi Jack,
Thank you Gentle Man. It worked perfectly. I am not aware of i can add AND condition with WHEN Statement. New learning today. Way to go. Great Tip and...
March 7, 2014 at 12:36 pm
Hi Jeff,
Thank you so much for your time and great tip. I agree with your statement. even i also implemented to have only updated/deleted records on the audit table,...
March 2, 2014 at 6:49 pm
Hi Jeff,
Thanks for your time. My Regular Table and Audit Table has the same schema other than the identity
TableName: Users
IdUser bigint identity(1,1) primary key
...
March 1, 2014 at 9:00 pm
almost 25 columns i need to track and put it in audit table. any suggestions please
February 28, 2014 at 2:04 pm
Thank you Micky. I will work with EOMonth. Appreciate your time on this.
February 21, 2014 at 7:22 pm
Viewing 15 posts - 46 through 60 (of 166 total)