Viewing 15 posts - 106 through 120 (of 568 total)
Hi Jeff,
But still am using the @@IDENTITY, yet no issue raised, ok will check your advice.
December 24, 2009 at 1:56 am
Hi,
Repeated post, Discussion already starts, in
http://www.sqlservercentral.com/Forums/Topic838860-392-1.aspx?Update=1
December 24, 2009 at 1:36 am
Hi,
Repeated post, Discussion already starts, in
http://www.sqlservercentral.com/Forums/Topic838860-392-1.aspx?Update=1
December 24, 2009 at 1:35 am
Hi Prakash,
Assumption of the parameter passed to table, try this
declare @fromdate datetime,@todate datetime,@amount numeric(10,2)
set @fromdate = '2009-10-05'
set @todate = '2010-10-20'
set @amount = 10000
set nocount on
/*table for month detais*/
declare
December 24, 2009 at 1:31 am
Hi Viper,
Both tell you the same concept which you not made in your code. However you got the concept that’s enough.
December 23, 2009 at 10:13 pm
Viper5646 (12/23/2009)
Thanks for your repliesBut both give me an Invalid Column name error.
Sorry that part of my code was missing.
Create View "Orders" as
Hi,
you mean,
create view [ORDER]
as
SELECT [MonthYear], SUM([Total]) AS Total...
December 23, 2009 at 9:53 pm
SELECT [MonthYear], SUM([Total]) AS Total
FROM
(
SELECT CAST(DATENAME(M, Date) AS varchar) + '-' + CAST(YEAR(Date) AS varchar) AS 'MonthYear',
SUM(Amount) AS 'Total'
FROM dbo.hardware
GROUP BY CAST(DATENAME(M, Date) AS varchar) + '-' +...
December 23, 2009 at 9:12 pm
Hi,
Post your code
December 23, 2009 at 8:59 pm
Hi Vijay,
You may already raise this in many communities and have yet didn’t have?
Ok, so for what you understand, can share with us,
And refer the jack point in mentioned discussion
http://www.sqlservercentral.com/Forums/Topic630291-148-1.aspx
December 23, 2009 at 8:34 pm
Hi,
--Tally TABLE
SELECT TOP 1000 IDENTITY(INT,0,1) AS N
INTO dbo.Tally
FROM Master.dbo.SysColumns
--use this statement in your trigger
select a.[ID],a.Heading,b.n
from MYTABLE a inner join
Tally b
on b.n...
December 22, 2009 at 11:24 pm
Hi,
Yes, it’s possible and see the Jeff article “Cross Tabs and Pivots, Part2 – Dynamic Cross Tabs - http://www.sqlservercentral.com/articles/Crosstab/65048/
December 22, 2009 at 8:52 pm
select [ID],[NAME],
max(case when [PLACE] = 'Sydney'then [DATE] else '' end)as [Sydney],
max(case when [PLACE] = 'Macau'then [DATE] else '' end)as [Macau],
max(case when [PLACE] = 'Texas'then [DATE] else '' end)as [Texas]
from MYTABLE
group...
December 22, 2009 at 8:37 pm
sanketahir1985 (12/21/2009)
Will that hamper the functioning of sql server or not?
Hi,
First, why you need to change to 2003 x32 bit? Any specific reason for this, other wise this not affects...
December 21, 2009 at 4:13 am
December 21, 2009 at 3:54 am
Hi,
Yes you can be achieved this by the JOB.
See the BOL http://msdn.microsoft.com/en-us/library/ms181153.aspx
December 18, 2009 at 9:50 pm
Viewing 15 posts - 106 through 120 (of 568 total)