Viewing 15 posts - 1 through 15 (of 25 total)
select convert(char(20),getdate(),108)
September 5, 2006 at 9:47 am
I ran a particular option( by two users) from the application and this situation arised.
November 9, 2005 at 2:53 am
Thank you very much.
Can we use datediff?
Rajesh
October 11, 2005 at 5:45 am
I really appreciate all your valuable suggestions and comments, but I am keener on your comments on the following statements?
If an alias is not present, the engine must resolve which...
October 7, 2005 at 3:36 pm
Try this, not sure this is what you wanted.
Select a.RowId, A.data,
case
when A.UserId <> 100 then 0
else UserId
end as UserId
from (
Select a.RowId,A.Data,b.userId from TableA a
inner Join TableB...
October 5, 2005 at 10:04 am
I am pretty much convinced that in order to avoid ambiguity, we should use alias names. Also if there is a self join, there in no way we could join...
October 4, 2005 at 7:21 am
Thanks very much for the reply.
It was my impression, but in Oracle, according to our Oracle DBA
October 4, 2005 at 6:47 am
Check this out.
select cast( sum( cast( left(cast(Hours as varchar(10)) , patindex( '%.%', cast(Hours as varchar(10)))-1) as int) )+ sum( cast( right( cast(Hours as varchar(10)),2) as int))/60 as varchar(10))+ '.'...
October 4, 2005 at 6:45 am
not sure this could be another solution?
select cast( sum( cast(left(cast(Hours as varchar(10)) , patindex( '%.%', cast(Hours as varchar(10)) )-1) as Int ) + cast(right(cast(Hours as varchar(10)) , 2) as Int...
October 4, 2005 at 6:14 am
Instead of view if the result set is stored in a # table, isnull is working fine.
SELECT ID, 1 As Val into #temp2 FROM tb1 WHERE ID < 5
SELECT...
September 27, 2005 at 6:02 am
Thank you very much for your valuable reply , both peter and Kenneth.
Kenneth, I can't really agree with what you have said.
it's possible for two concurrent connections to...
September 26, 2005 at 10:13 am
Hi Dilip,
It is working perfetly fine and loads of thanks.
Cheers
Rajesh
July 30, 2005 at 1:19 am
Thanks Dilip,
It looks good. However let me give it a try.
Cheers
Rajesh
July 29, 2005 at 9:51 am
Hi Dilip,
Well, my knowledge in VB or .NET is very limited that is the reason why you could see this particular thread. I know I have to use ADODB.Command...
July 29, 2005 at 5:45 am
Viewing 15 posts - 1 through 15 (of 25 total)