Viewing 15 posts - 1 through 15 (of 27 total)
Hi Peso,
Sorry the reply was late.Thank you. Its working fine.
Regards
Mahathi.
September 30, 2008 at 1:41 am
one problem is, if a user logins today and if loggins once again, it is not being displayed on the top position. It is displayed in the previous place itself.
...
September 26, 2008 at 2:28 am
Hi Peso,
Thank you for the query. It is working great.
Regards
Mahathi.
September 26, 2008 at 2:23 am
Should i apply the distinct keyword only for th user name. Even I tried that query. But I got the same result.
September 26, 2008 at 2:03 am
The UserActivityLog table stores the user login infromation and the schema of the table is:
CREATE TABLE [dbo].[UserActivityLog](
[RId] [int] IDENTITY(1,1) NOT NULL,
[ClientId] [bigint] NULL,
[UId] [int] NULL,
[Operation] [nvarchar](15) NULL,
[ReportDesc] [nvarchar](200) NULL,
[ReportDate]...
September 26, 2008 at 1:52 am
I got the solution for the requirement. Th following is the query used to get the most Frequent Allocations per day per client.
ALTER procedure [dbo].[mostFrequentAllocations](@ClientId bigint)
as
begin
select av.AllocId,a.AllocName,convert(varchar,getdate(),101) as VisitTime...
September 25, 2008 at 12:46 am
Sorry the previous post is not yet complete. I unknowingly clicked the enter button.
The count varaibe increments when any user visits a page called ViewAllocation and AllocId is...
September 23, 2008 at 12:04 am
I have a table named Allocation Visit and the schema of the table is as follows:
CREATE TABLE [dbo].[AllocationVisit](
[VisitId] [int] IDENTITY(1,1) NOT NULL,
[AllocId] [bigint] NOT NULL,
[VisitTime] [datetime] NOT NULL,
[Cnt] [money] NOT...
September 22, 2008 at 10:43 pm
Hi Quatreix
Thank you clarifying my doubt. No problem, even if it is late.
Regards
Mahathi.
September 21, 2008 at 9:33 pm
Hi
Everything works fine. One doubt is that please tell me why did you took convert(max)?
I am asking this question because, i used the same conevrt(max) to a text...
September 18, 2008 at 11:06 pm
Hi
Thank you for the help.
It works fine. If there are any doubts I'll again place it in the forum.
Thank you once again.
Regards,
Mahathi.
September 18, 2008 at 10:17 pm
Hi
Thank you for the reply. Should I create three different procedures for today,tomorrow and yesterday. And what does the field @Item and @NewId mean?
Please clarify the above doubts.
Regards,
Mahathi.
September 17, 2008 at 9:54 pm
Hi,
The data in the table for yesterday i.e., 16th sept is
AllocId VisitTime ...
September 17, 2008 at 12:54 am
Viewing 15 posts - 1 through 15 (of 27 total)