Sign in
|
Join
in
Pablo Peralta's Blog (blog)
ASP.NET Community Bloggers (group)
(Entire Site)
ASP.NET Weblogs
Home
Blogs
This Blog
Home
Contact
Syndication
RSS
Atom
Comments RSS
Recent Posts
How to see the project dependencies in VS 2008
Silverlight 3 and 4 to 'open up new areas' - Microsoft
To make SQL to generate the scripts according to the version we want..
Most Useful 20+ Visual Studio Add-ins
Windows Live Sync vs. Live Mesh vs. SkyDrive: Which is Right for You?
Sponsors
advertise here
Tags
.net
.net services
@schedule_uid
@schedule_uid is not a parameter for procedure sp_add_jobschedule
404
action time
add-ins
ajax
Archictect
Architecture
ASP.Net MV
autogeneration
azure
azure sdk
azure services
Beta 2
Biztalk
Blend
c#
cloud os
cloud windows
created date
crud
David Barrett
dependencies
encrypt
enterprise 2.0
file or directory not found
firefox
Generating Good Ideas
hash
HMACSHA256
host iis
ie8
implementation
infocorp
internet explorer
last modified date
live mesh
mac
making ideas concrete
mashup
mash-up
mashups
Microsoft Office Live Small Business
Microsoft Office Live Workspace
'Microsoft.TeamFoundation.WorkItemTracking.Client
Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItemDeniedOrNotExistsException
Midori
Modeling Edition
Most Useful 20+ Visual Studio Add-ins
mvc
new windows
OSLO
pablo
peralta
problem sp1
RAF
RAF 08
RAF 2008
RC0
Rosario
Saving changes is not permitted.
scripts
scritp
service factory
Sharepoint
sharepoint online
Silverlight
Silverlight 3
SkyDrive
SMTP
sp
sql
sql 2008
sql'script
steve ballmer
steve pavlina
stored procedures
svc
Sync
team Foundation
Team Foundation Server
TFS
TFS 2008
tools
trigger
UML
versiongenerate the scripts according to the version
visual studio
visual studio 2010
Visual Studio Dependencies Manager
vs 2010
wcf
Web Service Software Factory
windows 7
windows azure
Windows Live Sync
WorkItemDeniedOrNotExistsException
Archives
February 2009
(2)
December 2008
(3)
November 2008
(2)
October 2008
(2)
September 2008
(6)
August 2008
(3)
July 2008
(1)
June 2008
(4)
Pablo Peralta's Blog
Welcome to my blog. Here I will share some information, thoughts and comments about technology and management.
To make SQL to generate the scripts according to the version we want..
I came across the following problem:
·
I generated a script for a SQL 2005 job from SQL Server Management Studio 2008
·
When running that script on another SQL 2005 I got the following error:
@schedule_uid is not a parameter for procedure sp_add_jobschedule.
Getting through this, I found out that the error is due to SSMS 2008 generates scripts for 2008 by default, hence, not taking into account the engine version. So, even though we are using a DB in 2005, the scripts will be targeted for 2008. More info
here
.
In order to change this behavior we have to go to
Tools -> Options -> SQL Server Object Explorer -> Scripting
and change the
"Script for Server version"
option. There we can select the specific version we want the scripts to be generated for.
After changing this, it perfectly worked on 2005.
Hope it is useful, thanks
PP
Published
Dec 23 2008, 11:29 AM
by
pablop
Filed under:
scripts
,
@schedule_uid
,
@schedule_uid is not a parameter for procedure sp_add_jobschedule
,
versiongenerate the scripts according to the version
Comments
No Comments
Leave a Comment
Name
(required)
Your URL
(optional)
Comments
(required)
Remember Me?
Add
Terms of Use