Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

job in  sql server 2005

Posted on 2009-06-30
4
Medium Priority
?
180 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 750 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 750 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

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

This article will describe one method to parse a delimited string into a table of data.   Why would I do that you ask?  Let's say that you need to pass multiple parameters into a stored procedure to search for.  For our sake, we'll say that we wa…
This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …

610 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