Viewing 15 posts - 16 through 30 (of 127 total)
Yes, ranking functions might work; however, I assumed that since this was a SQL Server 7, 2000 forum that an SQL 2005 only option would not be viable. Is...
July 9, 2008 at 8:05 am
Oh, my! I last saw a Raima database in 1996. Brr! Cold!
July 9, 2008 at 7:27 am
Perhaps something like:
declare @test-2 table (aName varchar(10))
insert into @test-2
select 'scott' union all
select 'Tiger' union all
select 'Huli' union all
select 'abrash'
--select * from @test-2
declare @accum varchar(max)...
July 9, 2008 at 7:24 am
Thank you for picking me up, Jeff.
July 9, 2008 at 7:18 am
create either a temp table or a table variable to store the serial numbers and then use a SELECT statement to generate the serial numbers -- something like:
declare @serialNo table
(...
July 8, 2008 at 11:02 am
Go ahead and work on this as a temp table exercise; however, you might also want to consider making this a permanent table. Here is a link that discusses...
July 8, 2008 at 10:55 am
It looks to me like you might have a trigger that does not properly handle multi-record updates. Check and see if the table that is the target of the...
July 8, 2008 at 10:49 am
An article that shows some use of CONTEXT_INFO can be found here at the MS Common Solutions site:
While this is not the same thing that you are wanting,...
July 7, 2008 at 11:10 am
Is what you are looking for basically something along the line of:
create procedure emp_proc @nameParm varchar(30)
as
SELECT Emp_No,Emp_Name FROM...
July 4, 2008 at 7:05 am
Congratulations, Gail. Well deserved and well done. 🙂
Kent
July 3, 2008 at 6:35 am
Congratulations to Jeff and Michael and a hearty round of applause. 🙂
Well done.
July 2, 2008 at 7:00 am
One thing you can do is to convert your varchar time to its lowest granularity -- seconds -- and then sum the seconds.
EDIT:
For example, perhaps something like:
declare @test-2...
July 2, 2008 at 6:44 am
Mike:
You might be able to use expression "OBJECT_NAME(@@ProcID)" to obtain the name of a calling procedure. This information could in turn be stored in the CONTEXT_INFO to save the...
July 1, 2008 at 6:32 am
Well, you seem to want to use the PIVOT operator, but you have posted in the SQL 2000 forum. The PIVOT operator is not available in SQL 2000. ...
June 30, 2008 at 6:14 am
Viewing 15 posts - 16 through 30 (of 127 total)