473,396 Members | 1,891 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

H0W Could i Get Next Day Date Of the Day Function in the Sql server 2000.

27
Help Me To Make this Function...
Jan 6 '10 #1
3 11768
code green
1,726 Expert 1GB
Do you mean tomorrows date?
Expand|Select|Wrap|Line Numbers
  1. SELECT CONVERT(VARCHAR,DATEADD(DAY,+1,GETDATE()),23)
Jan 6 '10 #2
nbiswas
149 100+
If you are looking for

A) NEXT DATE
Expand|Select|Wrap|Line Numbers
  1. SELECT TomorrowDate = CONVERT(VARCHAR(10),GETDATE()+1,25) 
Expand|Select|Wrap|Line Numbers
  1. NextDate
  2. 2010-01-08
B) NEXT DAY
Expand|Select|Wrap|Line Numbers
  1. SELECT NextDay = DAY(GETDATE())+1
Expand|Select|Wrap|Line Numbers
  1. NextDay
  2. 8
C) NEXT DAY NAME

Expand|Select|Wrap|Line Numbers
  1. SELECT NextDayName = DATENAME(dw, GETDATE()+1)
Expand|Select|Wrap|Line Numbers
  1. NextDayName
  2. Friday
Jan 7 '10 #3
MrMob
27
thanks Biswas i think i can take a speed now...
GURU hai to Gati Hai..
Jan 7 '10 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Leader | last post by:
Hi All, I am facing a problem with a sql what i used in MS Access but its not returning the same result in MS Sql Server 2000. Here i am giving the sql: SELECT TOP 3 format( MY_DATE, "dddd mm,...
2
by: Ken Lindner | last post by:
I have a need to become familiar with SQL Server 2000 for work. Needless to say I am new to SQL Server any version, but not IT in general. My employer has provided me with the SQL Server 2000...
1
by: farrell77 | last post by:
What up-to-date books on this topic can people here recommend? Thanks. - Bob
4
by: Christine | last post by:
I am having the strangest problem. I use the Date function in several of my forms and modules in an Access 2000 mdb. Lately, wherever in my code (in this one mdb) I use the Date function, it...
7
by: Christian Blackburn | last post by:
Hi Gang, VB6 has a command called Date and it would not to surprisingly return the date in the following ways: Date() = 9/10/2003 Date(now) = 9/10/2003 Date("8/12/2000 12:20PM") = 8/12/2000
8
by: Woody Splawn | last post by:
I am asking this question here because I asked this question in the Reporting Services Newsgroup and did not get an answer. Does anyone know if Reporting Services is intended to work in a...
1
by: tolcis | last post by:
Hi! I have a report that needs to be run on the seventh of every month for the dates from 6th of the previous months to the 5th of the current month. For example, I have to run a report on...
3
by: aschauhan18 | last post by:
Hi Does Anybody help me Substitute Of Last() Function Of Ms Acces 2000 in Sql Server 2000 . This is my query...
1
by: RubyRed | last post by:
Using SQL Server 2000. Basically, I am trying to calculate each minute of an employee scheduled time during their work shift. In the table below shows only the times that the shift begin...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.