TomPhillips
Active member
- Joined
- Feb 24, 2005
- Messages
- 33
- Programming Experience
- 10+
In a stored procedure, if I declare @myDate DateTime
and
set @myDate = '7/4/2005'
 
How do I determine if @myDate is a Tuesday?
 
or
 
How do I find out what DayOfWeek it is?
 
This is easy in VB.NET but I can't see how to do it in an sp.
 
In MSSQL, btw.
	
		
			
		
		
	
				
			and
set @myDate = '7/4/2005'
How do I determine if @myDate is a Tuesday?
or
How do I find out what DayOfWeek it is?
This is easy in VB.NET but I can't see how to do it in an sp.
In MSSQL, btw.
 
	 
 
		 
 
		 
 
		 
 
		