Viewing 15 posts - 211 through 225 (of 926 total)
Eirikur Eiriksson (12/30/2015)
Not too bad twin.devil but there is still room for improvement😎
Thanks for sharing the test Harness script Eirikur and YES there is always room for improvements. 🙂
December 30, 2015 at 11:27 pm
I think there was some kind of mistake really, there is no other option beside Option 4 and the column is not available in table. I was unable to answer...
December 30, 2015 at 2:30 am
I have tried to put a sample data to test the current query result with the new query. With a bit of data for stress test.
DDL Structure
USE TempDB
GO
IF Object_Id('dbo.ExchangeRate')...
December 30, 2015 at 12:55 am
Well its not so complicated in terms of understanding what current query is doing. its actually creating Start Date and End Date of you ExchangeRate for a currencyId.
This will...
December 30, 2015 at 12:19 am
if you mean that number of rows to be fetched of a single date. it would look something like this. You can give a parameter how many rows should be...
December 23, 2015 at 5:07 am
Great story i will not say fiction at all. only the part when everything start to get happy. I heard from many that things do get better the door will...
December 23, 2015 at 12:48 am
Well its not about the OFFSET what you have shown in your desired output u need to get CurrentRow and two previous rows data for each 3 dates running total...
December 23, 2015 at 12:04 am
Jeff Moden (12/22/2015)
Twin.Devil's code is fine ....
Thank you SIR, i also missed what you have written. i should take a snapshot of it and frame it on my wall 😎
December 22, 2015 at 10:45 pm
Jeff Moden (12/22/2015)
koti.raavi (12/21/2015)
Below is the sample query
Select Month1,Month2,Month3......Month24 from #temp
I need to display data like below
Select Month1 as [Dec 2015], Month2 as [Jan 2016],Month3 as [Feb...
December 22, 2015 at 10:42 pm
As you didnt share the your query i have to build a prototype query to generate the list of columns for u.
This query required two parameters i-e StartDate, EndDate. Rest...
December 22, 2015 at 12:35 am
when you are creating the temp table you must be knowing which month it is right. If yes then share us the schema of your SP so that this could...
December 21, 2015 at 11:41 pm
i never recommend reading excel like this. if you want to read excel and want to avoid such issues you should be using script task in which you can write...
December 21, 2015 at 3:40 am
when you have added date column in the excel, Is the date column is show left align data or right aligned ?
December 21, 2015 at 3:01 am
Viewing 15 posts - 211 through 225 (of 926 total)