











CompTIA
Exam Vouchers
Save money on CompTIA exams
| Question of the day
Sign up to receive
interactive practice questions
for MCSE, CompTIA
Cisco and other exams
| TestKing
Get MCSE, MCSD, CCNA, CCNP,A+, N+ and many more | * ExamSheets *
Guide for Success!
Actual Questions & Answers
MCSE, MCSD, A+ ,CCNA, CCNP
Oracle 8i, Oracle 9i Online practice tests
Certification sites Online university Online college Online education Distance learning Software forum Server administration forum Programming resources
|
|  |
| Author |
Formatting Date to Return 'Day of the week'
|
Ash
Guest
Registered: Not Yet Location: Country: State: Certifications: Working on:
Total Posts: N/A
|
|
Formatting Date to Return 'Day of the week'
Dear All
I am using SQL2k on Win 2k, can anyone tell me how i format the date to
return the actual day it is.....
ie in Access you can use format("ddd",[datefield]) and it will return u the
date of the date field. is there something similar in SQL Server.
Many Thanks In Advance
ASH
Report this post to a moderator
|
|
06-28-02 02:25 PM
|
|
Jasper Smith
Guest
Registered: Not Yet Location: Country: State: Certifications: Working on:
Total Posts: N/A
|
|
Re: Formatting Date to Return 'Day of the week'
select datename(weekday,datecolumn)
The number produced by the weekday datepart depends on the value
set by SET DATEFIRST, which sets the first day of the week
HTH
Jasper Smith
"Ash" <ash_khan100@hotmail.com> wrote in message
news:afhrnh$5gu$1@helle.btinternet.com...
> Dear All
>
> I am using SQL2k on Win 2k, can anyone tell me how i format the date to
> return the actual day it is.....
>
> ie in Access you can use format("ddd",[datefield]) and it will return u
the
> date of the date field. is there something similar in SQL Server.
>
> Many Thanks In Advance
>
> ASH
>
>
Report this post to a moderator
|
|
06-28-02 02:25 PM
|
|
|
Featured site: MCSE, MCSD, CompTIA, CCNA training videos
Forum Rules: Who Can Read The Forum? Any registered user or guest.
Who Can Post New Topics? Any registered user.
Who Can Post Replies? Any registered user.
Changes: Messages can be edited by their author.
Posts: HTML code is OFF. Smilies are ON. vB code is ON. [IMG] code is OFF. |
|
ExamNotes forum archive
|