Solved

job in  sql server 2005

Posted on 2009-06-30
4
174 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

by Mark Wills PIVOT is a great facility and solves many an EAV (Entity - Attribute - Value) type transformation where we need the information held as data within a column to become columns in their own right. Now, in some cases that is relatively…
In this article I will describe the Backup & Restore method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

785 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