Viewing 15 posts - 931 through 945 (of 1,923 total)
i can get the scope of it; but if u could provide some sample data along with a snapshot of the expected output, we will be all set to launch...
February 28, 2011 at 3:55 pm
If u dont need data that are between start and end and also < @Start, why not put, < @End only in your query ??
February 28, 2011 at 3:13 pm
vinayak.v (2/21/2011)
Hey its ok...i'll put is ssrs forum...
once again thanks for replying...
Pleasure's mine.. Thanks for the feedback, vinayak.
February 21, 2011 at 5:31 am
I am a dud in SSRS; Probably if you post in SSRS forums of this same site, you may get a good code. Sorry, i couldn't be of any help...
February 21, 2011 at 5:26 am
How about this?
Table Structure:
CREATE TABLE [thoughts]
(
id INT IDENTITY(1, 1)
...
February 21, 2011 at 5:12 am
Because that is how Joins work with NOT EQUALS operator
When u use a JOIN, SQL expands the the entries in the following manner:

Now as u have used NOT EQUALS for...
February 21, 2011 at 4:23 am
or this?
SELECT ID ,
First_Login = MIN (LogInTime) ,
Last_LogPut = MAX (LogOutTime) ,
Time_In_Office_InSeconds = DATEDIFF ( ss , MIN (LogInTime)...
February 21, 2011 at 3:56 am
Jeff Moden (2/21/2011)
Here's the link to Wayne's article...http://www.sqlservercentral.com/articles/comma+separated+list/71700/
Thanks Jeff, i hadn't had time to search for it 🙂
February 21, 2011 at 3:48 am
February 21, 2011 at 3:45 am
Try this:
;WITH A AS (
SELECT C1,C2,C3 FROM TABLE)
SELECT * FROM A --gives us result
SELECT @@ROWCOUNT CountOfRows
February 21, 2011 at 1:17 am
Try this:
DECLARE @table TABLE
(
ID VARCHAR(30),
LogInTime DATETIME ,
...
February 21, 2011 at 1:07 am
timotech (2/19/2011)
February 19, 2011 at 6:51 am
Ok, how about this?
declare @BeginDate datetime, @EndDate datetime, @Station nvarchar(4), @BeginTime nvarchar(8), @EndTime nvarchar(8),
@Scheduled int, @Duration int
set @BeginDate = '2 jun 2010'
set @EndDate = '3 jun 2010'
set @Station = 'b83'
set...
February 18, 2011 at 9:35 pm
Timotech, just change the >= to > in the CapturedExtra column and check if it is performing the way it should...
February 18, 2011 at 5:09 am
This?
DECLARE @Scheduled VARCHAR(2) = '3'
,@BeginTime VARCHAR(8) = '05:55:00'
,@EndTime ...
February 17, 2011 at 11:18 pm
Viewing 15 posts - 931 through 945 (of 1,923 total)