Solved

job in  sql server 2005

Posted on 2009-06-30
4
177 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

When writing XML code a very difficult part is when we like to remove all the elements or attributes from the XML that have no data. I would like to share a set of recursive MSSQL stored procedures that I have made to remove those elements from …
In SQL Server, when rows are selected from a table, does it retrieve data in the order in which it is inserted?  Many believe this is the case. Let us try to examine for ourselves with an example. To get started, use the following script, wh…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

726 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