Solved

job in  sql server 2005

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

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Join & Write a Comment

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…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

746 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now