Solved

job in  sql server 2005

Posted on 2009-06-30
4
176 Views
Last Modified: 2012-05-07
Hi, i am developing a web interface for schedule (JOB) with sql server 2005. I have a problem with Frecuency Occurs Montly because in the textbox day the user can be enter 35 when the max value is 31. My question is
I need calculate the number days by month or the schedule (sql sertver 2005) makes
i.e if i enter in the textbox day the value of 31 for month February Server error was?
0
Comment
Question by:nolberta
  • 2
  • 2
4 Comments
 
LVL 5

Accepted Solution

by:
rgc6789 earned 250 total points
ID: 24747334
My opinion is that it is easier for everyone if you do the error checking on the web interface and not on the sql side. I'm also confused about the frequency being monthly but the user selecting a day. Also, are they selecting a year in this? That is going to effect the Feb. max value.
0
 

Author Comment

by:nolberta
ID: 24747434
I validate in web interface a max value of 31 (the user enter value), but what happen be in the course of month de February?
errScheduledReport.JPG
0
 
LVL 5

Assisted Solution

by:rgc6789
rgc6789 earned 250 total points
ID: 24747559
When they enter the data what is it used for? If they enter the 31st, do you have a job that runs on the date specified?
0
 

Author Comment

by:nolberta
ID: 24747693
the escenario this (view file1 and file2)
errScheduledReport01.JPG
errScheduledReport02.JPG
0

Featured Post

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

If you having speed problem in loading SQL Server Management Studio, try to uncheck these options in your internet browser (IE -> Internet Options / Advanced / Security):    . Check for publisher's certificate revocation    . Check for server ce…
There are some very powerful Data Management Views (DMV's) introduced with SQL 2005. The two in particular that we are going to discuss are sys.dm_db_index_usage_stats and sys.dm_db_index_operational_stats.   Recently, I was involved in a discu…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question