![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Does anyone know how I can version my DTS packages so when I track them I can just track the versions? I will use this version number to label my directory in source safe. Thank You Jerry |
#3
| |||
| |||
|
|
-----Original Message----- DTS Packages are versioned by default in SQL Server. Everytime you save the DTS package, a new version is saved in the msdb..sysdtspackages. You can see these versions in the Enterprise Manager, by right clicking on the DTS packages. Another way would be to script the DTS package as a VBScript file, and check that VB script file into VSS. -- Vyas, MVP (SQL Server) http://vyaskn.tripod.com/ "Jerry" <anonymous (AT) discussions (DOT) microsoft.com> wrote in message news:582b01c48153$cfbaefe0$a301280a (AT) phx (DOT) gbl... Does anyone know how I can version my DTS packages so when I track them I can just track the versions? I will use this version number to label my directory in source safe. Thank You Jerry . |
#4
| |||
| |||
|
|
Vyas, How can I read that version guid in sysdtspackages into a normal version number that I can use in my tracking system? How can you get the version by saving off into a VBScript file? Thank you for all your help Jerry -----Original Message----- DTS Packages are versioned by default in SQL Server. Everytime you save the DTS package, a new version is saved in the msdb..sysdtspackages. You can see these versions in the Enterprise Manager, by right clicking on the DTS packages. Another way would be to script the DTS package as a VBScript file, and check that VB script file into VSS. -- Vyas, MVP (SQL Server) http://vyaskn.tripod.com/ "Jerry" <anonymous (AT) discussions (DOT) microsoft.com> wrote in message news:582b01c48153$cfbaefe0$a301280a (AT) phx (DOT) gbl... Does anyone know how I can version my DTS packages so when I track them I can just track the versions? I will use this version number to label my directory in source safe. Thank You Jerry . |
#5
| |||
| |||
|
|
-----Original Message----- Packages in sysdtspackages will have a new row for every time you save it back Name and ID will be the same VersionID will be different as will CreateDate When saving out to a VB module you will be saving out the latest version. You could also save to structured Storage file and book that into Source Control. -- -- Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP) www.SQLDTS.com - The site for all your DTS needs. www.konesans.com - Consultancy from the people who know anonymous (AT) discussions (DOT) microsoft.com> wrote in message news:5bda01c4815e$c8002c60$a501280a (AT) phx (DOT) gbl... Vyas, How can I read that version guid in sysdtspackages into a normal version number that I can use in my tracking system? How can you get the version by saving off into a VBScript file? Thank you for all your help Jerry -----Original Message----- DTS Packages are versioned by default in SQL Server. Everytime you save the DTS package, a new version is saved in the msdb..sysdtspackages. You can see these versions in the Enterprise Manager, by right clicking on the DTS packages. Another way would be to script the DTS package as a VBScript file, and check that VB script file into VSS. -- Vyas, MVP (SQL Server) http://vyaskn.tripod.com/ "Jerry" <anonymous (AT) discussions (DOT) microsoft.com> wrote in message news:582b01c48153$cfbaefe0$a301280a (AT) phx (DOT) gbl... Does anyone know how I can version my DTS packages so when I track them I can just track the versions? I will use this version number to label my directory in source safe. Thank You Jerry . . |
#6
| |||
| |||
|
|
Allan, We do save them off into a structured storage file and that is what we take when we go out to the client site to do a release. The problem with that is there is no version tied to that DTS file. We want a way to make sure that this is the correct version going out and be able to double check it while we are out at the clients site. I can't have the version in a GUID, I need it in a regular format do you know if this is possible? Thank You Jerry -----Original Message----- Packages in sysdtspackages will have a new row for every time you save it back Name and ID will be the same VersionID will be different as will CreateDate When saving out to a VB module you will be saving out the latest version. You could also save to structured Storage file and book that into Source Control. -- -- Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP) www.SQLDTS.com - The site for all your DTS needs. www.konesans.com - Consultancy from the people who know anonymous (AT) discussions (DOT) microsoft.com> wrote in message news:5bda01c4815e$c8002c60$a501280a (AT) phx (DOT) gbl... Vyas, How can I read that version guid in sysdtspackages into a normal version number that I can use in my tracking system? How can you get the version by saving off into a VBScript file? Thank you for all your help Jerry -----Original Message----- DTS Packages are versioned by default in SQL Server. Everytime you save the DTS package, a new version is saved in the msdb..sysdtspackages. You can see these versions in the Enterprise Manager, by right clicking on the DTS packages. Another way would be to script the DTS package as a VBScript file, and check that VB script file into VSS. -- Vyas, MVP (SQL Server) http://vyaskn.tripod.com/ "Jerry" <anonymous (AT) discussions (DOT) microsoft.com> wrote in message news:582b01c48153$cfbaefe0$a301280a (AT) phx (DOT) gbl... Does anyone know how I can version my DTS packages so when I track them I can just track the versions? I will use this version number to label my directory in source safe. Thank You Jerry . . |
#7
| |||
| |||
|
|
-----Original Message----- I have a related question - I am trying to save DTS packages to VSS as .dts files from our QA environment. Following that I would like to deploy the latest version of that file to the production environment. How can I do so? I tried opening the .dts file on the production server, but when I try to save it to the server it errors out saying that there is an existing package with the same name but different ID, and therefore I cannot save to that package. I do need to replace that package though, as otherwise the related job will not execute the new version... Thanks! -Jyotsna "Allan Mitchell" wrote: You can save the same package to the same .dts file. When you come to open it through EM you will be asked what version you want with a Date of modification Also You can retrieve information about the contents of a DTS package storage file, which can contain multiple packages, each with multiple versions. Create a Package2 object and then use the GetSavedPackageInfos method to return a reference to a SavedPackageInfos collection with information about all the package versions contained in the file. -- -- Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP) www.SQLDTS.com - The site for all your DTS needs. www.konesans.com - Consultancy from the people who know "Jerry" <anonymous (AT) discussions (DOT) microsoft.com> wrote in message news:717701c483a0$121b46c0$a601280a (AT) phx (DOT) gbl... Allan, We do save them off into a structured storage file and that is what we take when we go out to the client site to do a release. The problem with that is there is no version tied to that DTS file. We want a way to make sure that this is the correct version going out and be able to double check it while we are out at the clients site. I can't have the version in a GUID, I need it in a regular format do you know if this is possible? Thank You Jerry -----Original Message----- Packages in sysdtspackages will have a new row for every time you save it back Name and ID will be the same VersionID will be different as will CreateDate When saving out to a VB module you will be saving out the latest version. You could also save to structured Storage file and book that into Source Control. -- -- Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP) www.SQLDTS.com - The site for all your DTS needs. www.konesans.com - Consultancy from the people who know anonymous (AT) discussions (DOT) microsoft.com> wrote in message news:5bda01c4815e$c8002c60$a501280a (AT) phx (DOT) gbl... Vyas, How can I read that version guid in sysdtspackages into a normal version number that I can use in my tracking system? How can you get the version by saving off into a VBScript file? Thank you for all your help Jerry -----Original Message----- DTS Packages are versioned by default in SQL Server. Everytime you save the DTS package, a new version is saved in the msdb..sysdtspackages. You can see these versions in the Enterprise Manager, by right clicking on the DTS packages. Another way would be to script the DTS package as a VBScript file, and check that VB script file into VSS. -- Vyas, MVP (SQL Server) http://vyaskn.tripod.com/ "Jerry" <anonymous (AT) discussions (DOT) microsoft.com wrote in message news:582b01c48153$cfbaefe0$a301280a (AT) phx (DOT) gbl... Does anyone know how I can version my DTS packages so when I track them I can just track the versions? I will use this version number to label my directory in source safe. Thank You Jerry . . . |
#8
| |||
| |||
|
|
Jyotsna, You more then likely already have it saved using that name. It doesn't let you overwrite it. What I do it delete the old version out of Enterprise Manager and then save it in SQL Server. -----Original Message----- I have a related question - I am trying to save DTS packages to VSS as .dts files from our QA environment. Following that I would like to deploy the latest version of that file to the production environment. How can I do so? I tried opening the .dts file on the production server, but when I try to save it to the server it errors out saying that there is an existing package with the same name but different ID, and therefore I cannot save to that package. I do need to replace that package though, as otherwise the related job will not execute the new version... Thanks! -Jyotsna "Allan Mitchell" wrote: You can save the same package to the same .dts file. When you come to open it through EM you will be asked what version you want with a Date of modification Also You can retrieve information about the contents of a DTS package storage file, which can contain multiple packages, each with multiple versions. Create a Package2 object and then use the GetSavedPackageInfos method to return a reference to a SavedPackageInfos collection with information about all the package versions contained in the file. -- -- Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP) www.SQLDTS.com - The site for all your DTS needs. www.konesans.com - Consultancy from the people who know "Jerry" <anonymous (AT) discussions (DOT) microsoft.com> wrote in message news:717701c483a0$121b46c0$a601280a (AT) phx (DOT) gbl... Allan, We do save them off into a structured storage file and that is what we take when we go out to the client site to do a release. The problem with that is there is no version tied to that DTS file. We want a way to make sure that this is the correct version going out and be able to double check it while we are out at the clients site. I can't have the version in a GUID, I need it in a regular format do you know if this is possible? Thank You Jerry -----Original Message----- Packages in sysdtspackages will have a new row for every time you save it back Name and ID will be the same VersionID will be different as will CreateDate When saving out to a VB module you will be saving out the latest version. You could also save to structured Storage file and book that into Source Control. -- -- Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP) www.SQLDTS.com - The site for all your DTS needs. www.konesans.com - Consultancy from the people who know anonymous (AT) discussions (DOT) microsoft.com> wrote in message news:5bda01c4815e$c8002c60$a501280a (AT) phx (DOT) gbl... Vyas, How can I read that version guid in sysdtspackages into a normal version number that I can use in my tracking system? How can you get the version by saving off into a VBScript file? Thank you for all your help Jerry -----Original Message----- DTS Packages are versioned by default in SQL Server. Everytime you save the DTS package, a new version is saved in the msdb..sysdtspackages. You can see these versions in the Enterprise Manager, by right clicking on the DTS packages. Another way would be to script the DTS package as a VBScript file, and check that VB script file into VSS. -- Vyas, MVP (SQL Server) http://vyaskn.tripod.com/ "Jerry" <anonymous (AT) discussions (DOT) microsoft.com wrote in message news:582b01c48153$cfbaefe0$a301280a (AT) phx (DOT) gbl... Does anyone know how I can version my DTS packages so when I track them I can just track the versions? I will use this version number to label my directory in source safe. Thank You Jerry |
#9
| |||
| |||
|
|
-----Original Message----- Thank you Jerry, for the response. You're exactly right, I do have the package saved under the same name on the production server. This is because it was the previously saved version. I had considered the idea of deleting it from production and then saving the new version, but wouldn't that impact the job associated with the package? That is, the job would need to be re-created too, correct, since it is referencing the old package? I was wondering if there was an alternative/seamless solution, for a Dev/QA/Prod transition... Thanks, -Jyotsna "jerry" wrote: Jyotsna, You more then likely already have it saved using that name. It doesn't let you overwrite it. What I do it delete the old version out of Enterprise Manager and then save it in SQL Server. -----Original Message----- I have a related question - I am trying to save DTS packages to VSS as .dts files from our QA environment. Following that I would like to deploy the latest version of that file to the production environment. How can I do so? I tried opening the .dts file on the production server, but when I try to save it to the server it errors out saying that there is an existing package with the same name but different ID, and therefore I cannot save to that package. I do need to replace that package though, as otherwise the related job will not execute the new version... Thanks! -Jyotsna "Allan Mitchell" wrote: You can save the same package to the same .dts file. When you come to open it through EM you will be asked what version you want with a Date of modification Also You can retrieve information about the contents of a DTS package storage file, which can contain multiple packages, each with multiple versions. Create a Package2 object and then use the GetSavedPackageInfos method to return a reference to a SavedPackageInfos collection with information about all the package versions contained in the file. -- -- Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP) www.SQLDTS.com - The site for all your DTS needs. www.konesans.com - Consultancy from the people who know "Jerry" <anonymous (AT) discussions (DOT) microsoft.com> wrote in message news:717701c483a0$121b46c0$a601280a (AT) phx (DOT) gbl... Allan, We do save them off into a structured storage file and that is what we take when we go out to the client site to do a release. The problem with that is there is no version tied to that DTS file. We want a way to make sure that this is the correct version going out and be able to double check it while we are out at the clients site. I can't have the version in a GUID, I need it in a regular format do you know if this is possible? Thank You Jerry -----Original Message----- Packages in sysdtspackages will have a new row for every time you save it back Name and ID will be the same VersionID will be different as will CreateDate When saving out to a VB module you will be saving out the latest version. You could also save to structured Storage file and book that into Source Control. -- -- Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP) www.SQLDTS.com - The site for all your DTS needs. www.konesans.com - Consultancy from the people who know anonymous (AT) discussions (DOT) microsoft.com> wrote in message news:5bda01c4815e$c8002c60$a501280a (AT) phx (DOT) gbl... Vyas, How can I read that version guid in sysdtspackages into a normal version number that I can use in my tracking system? How can you get the version by saving off into a VBScript file? Thank you for all your help Jerry -----Original Message----- DTS Packages are versioned by default in SQL Server. Everytime you save the DTS package, a new version is saved in the msdb..sysdtspackages. You can see these versions in the Enterprise Manager, by right clicking on the DTS packages. Another way would be to script the DTS package as a VBScript file, and check that VB script file into VSS. -- Vyas, MVP (SQL Server) http://vyaskn.tripod.com/ "Jerry" <anonymous (AT) discussions (DOT) microsoft.com wrote in message news:582b01c48153$cfbaefe0$a301280a (AT) phx (DOT) gbl... Does anyone know how I can version my DTS packages so when I track them I can just track the versions? I will use this version number to label my directory in source safe. Thank You Jerry . |
#10
| |||
| |||
|
|
Thank you Jerry, for the response. You're exactly right, I do have the package saved under the same name on the production server. This is because it was the previously saved version. I had considered the idea of deleting it from production and then saving the new version, but wouldn't that impact the job associated with the package? That is, the job would need to be re-created too, correct, since it is referencing the old package? It is often simpler to schedule the package yourself, not using the |
|
I was wondering if there was an alternative/seamless solution, for a Dev/QA/Prod transition... |
![]() |
| Thread Tools | |
| Display Modes | |
| |