Viewing 10 posts - 16 through 25 (of 25 total)
What abot the "table valued function" ?
can u clear it little bit?
January 12, 2004 at 3:29 am
ok, let it more clear!
I have a view view1 where material receiving information is summarized along with location id ,date and other necessary info
January 11, 2004 at 4:26 am
What about patritioned view , can u help me on that?
January 5, 2004 at 1:36 am
It Seems to be better one,Jonathan !
December 29, 2003 at 8:40 pm
It might be ok if the quary is as follows:
select distinct datename(month,a.productiondate)+'-'+ datename(year,a.productiondate)as Date, a.productiondate
into ##newtable
from tblDailyConsumption a
order by a.productiondate
select distinct Date from ##newtable
However , Thx all for...
December 29, 2003 at 4:28 am
ray_higdon
One problem here boss!
It is showing unexpected ans for data
2003-07-03
2003-07-09
2003-09-26
2003-10-27
That is :
July-2003
July-2003
September-2003
October-2003
...
December 29, 2003 at 4:23 am
Thx ray_higdon
It is working...
December 29, 2003 at 4:04 am
quote:
How about:select datename(month,productiondate)+'-'+ datename(year,productiondate)
from tblmytable
group by datename(month,productiondate)+'-'+ datename(year,productiondate)
HTH
Ray Higdon MCSE, MCDBA, CCNA
May be you...
December 29, 2003 at 1:11 am
quote:
How about:select datename(month,productiondate)+'-'+ datename(year,productiondate)
from tblmytable
group by datename(month,productiondate)+'-'+ datename(year,productiondate)
HTH
Ray Higdon MCSE, MCDBA, CCNA
May be you...
December 29, 2003 at 1:10 am
no, I have to find only distinct year and month only not date ...
December 28, 2003 at 9:47 pm
Viewing 10 posts - 16 through 25 (of 25 total)