Viewing 15 posts - 136 through 150 (of 193 total)
if connection 2: COMMIT TRAN is done initially (in code)
and some err in connection 1
then connection 2: cannot not be rolled back right ?
March 6, 2013 at 2:49 am
I can't change the datatype from datetime to date.So is there any method like cast or anything?
March 5, 2013 at 10:43 pm
ChrisM@Work (3/5/2013)
March 5, 2013 at 5:05 am
Bhuvnesh (3/5/2013)
See this link http://msdn.microsoft.com/en-us/library/ms176078(v=sql.105).aspx
Can use query instead of @SearchWord?? i dont think so
March 5, 2013 at 3:57 am
ChrisM@Work (3/5/2013)
March 5, 2013 at 3:50 am
Bhuvnesh (3/5/2013)
winmansoft (3/5/2013)
March 5, 2013 at 3:48 am
I will explain with example. I have a query "select work from entries1 WHERE [date] BETWEEN '01-Jan-2012' and '20-Jan-2013'" and lets say it will return result
training
checkout
surfing
develop
...
I have another table...
March 5, 2013 at 3:35 am
Its just like "SELECT * FROM entries WHERE work IN (select work from entries1 WHERE [date] BETWEEN '01-Jan-2012' and '20-Jan-2013')". But IN matches with exact values from result column...
March 5, 2013 at 2:57 am
No,it is not mandatory to use the TOP and ORDER BY but they are required.. i can ditch order by by modifying query as "select min[a.date] from (select top 100...
March 4, 2013 at 4:22 am
I have to get min date from top 100 rows which satisfies date condition..If i do
select top 1 [date] from WHERE [date] BETWEEN '01-Jan-2012' and '20-Jan-2013' order by...
March 3, 2013 at 9:50 pm
thanks for replies
We want sorting sometimes,I think we will stick to
select min[v.date]
from
(select top 100 [date]
from WHERE [date] BETWEEN '01-Jan-2012' and '20-Jan-2013'
order by [date] desc) V
February 28, 2013 at 11:50 pm
Anyone installed sql server 2008 R2 RTM in a Windows 8 pc?
February 28, 2013 at 12:15 am
I am installing sql server 2005 express together with my application because my application needs sql server for its working. So i choose silent mode install using command line in...
February 28, 2013 at 12:13 am
Viewing 15 posts - 136 through 150 (of 193 total)