Hi everyone,
I'm quite a newbie to SQL and DTS and I need your help!
HTe situation:
I've got an Access97 frontend with an SQL7 backend. On the SQL-server I created a job (to execute a DTS package) which is triggered by a custom-error. From the Access-side I raise this error to start excuting the DTS. I do that this way: execute master..xp_logevent 50001, LOG
This works fine, the job runs and everything, however I need to know when the job has ended. The code that is after this call in Access97 needs to be sure that the DTS-package has finished executing.
How do I do that, please bear in mind that I'm quite a newbie so simple language please :)
TIA, RaymondMay be the last step in DTS populates a field in some table, and your Access 97 front end keeps checking that table to see if that field has been updated or not.
Showing posts with label frontend. Show all posts
Showing posts with label frontend. Show all posts
Monday, March 19, 2012
check file date script
SQL Server file system objects
Posted: 08-18-2004 06:23 PM
Hello World!...
Here is the scenerio..
SQL Server Database
VB FrontEnd App.
App loads XML file data into database.
Changes are often made to the XML files. When changes are made,
the files must be reloaded into the database via the application. Changes
have been missed causing loss of production and jobs being processed
incorrectly.
I am looking for a script that will check the filedate of the
xml file or the filedate tag in the xml against a 'DesignFileDate' field in
the database. If a discrepancy in the filedates is identified, I want to
load the XML data to a temporary table [ExchangeTable] into the database.
The developer will provide a process to either load the data
into the production database or delete the data. This will be processed from
the Exchange table.
Having no background in programming languages and fairly new to
SQL this is quite a challenge.
Any assistance is greatly appreciated..
Regards
Hi steve,
I will recommend the .NET framework for your application and SQL Job Agent
for your monitoring purposes.
Regards,
Jon
|||Look in "Books on Line" (BOL) that comes with SQL Server as it is a great
resource for SQL Server questions of all types.
Using T-SQL you can read values out of an XML doc and compare them to
variables in a stored proc. Look in BOL and if you have any more questions
feel free to ask.
"Steve T." wrote:
> SQL Server file system objects
> Posted: 08-18-2004 06:23 PM
> Hello World!...
> Here is the scenerio..
> SQL Server Database
> VB FrontEnd App.
> App loads XML file data into database.
> Changes are often made to the XML files. When changes are made,
> the files must be reloaded into the database via the application. Changes
> have been missed causing loss of production and jobs being processed
> incorrectly.
> I am looking for a script that will check the filedate of the
> xml file or the filedate tag in the xml against a 'DesignFileDate' field in
> the database. If a discrepancy in the filedates is identified, I want to
> load the XML data to a temporary table [ExchangeTable] into the database.
> The developer will provide a process to either load the data
> into the production database or delete the data. This will be processed from
> the Exchange table.
> Having no background in programming languages and fairly new to
> SQL this is quite a challenge.
> Any assistance is greatly appreciated..
> Regards
>
>
>
Posted: 08-18-2004 06:23 PM
Hello World!...
Here is the scenerio..
SQL Server Database
VB FrontEnd App.
App loads XML file data into database.
Changes are often made to the XML files. When changes are made,
the files must be reloaded into the database via the application. Changes
have been missed causing loss of production and jobs being processed
incorrectly.
I am looking for a script that will check the filedate of the
xml file or the filedate tag in the xml against a 'DesignFileDate' field in
the database. If a discrepancy in the filedates is identified, I want to
load the XML data to a temporary table [ExchangeTable] into the database.
The developer will provide a process to either load the data
into the production database or delete the data. This will be processed from
the Exchange table.
Having no background in programming languages and fairly new to
SQL this is quite a challenge.
Any assistance is greatly appreciated..
Regards
Hi steve,
I will recommend the .NET framework for your application and SQL Job Agent
for your monitoring purposes.
Regards,
Jon
|||Look in "Books on Line" (BOL) that comes with SQL Server as it is a great
resource for SQL Server questions of all types.
Using T-SQL you can read values out of an XML doc and compare them to
variables in a stored proc. Look in BOL and if you have any more questions
feel free to ask.
"Steve T." wrote:
> SQL Server file system objects
> Posted: 08-18-2004 06:23 PM
> Hello World!...
> Here is the scenerio..
> SQL Server Database
> VB FrontEnd App.
> App loads XML file data into database.
> Changes are often made to the XML files. When changes are made,
> the files must be reloaded into the database via the application. Changes
> have been missed causing loss of production and jobs being processed
> incorrectly.
> I am looking for a script that will check the filedate of the
> xml file or the filedate tag in the xml against a 'DesignFileDate' field in
> the database. If a discrepancy in the filedates is identified, I want to
> load the XML data to a temporary table [ExchangeTable] into the database.
> The developer will provide a process to either load the data
> into the production database or delete the data. This will be processed from
> the Exchange table.
> Having no background in programming languages and fairly new to
> SQL this is quite a challenge.
> Any assistance is greatly appreciated..
> Regards
>
>
>
check file date script
SQL Server file system objects
Posted: 08-18-2004 06:23 PM
Hello World!...
Here is the scenerio..
SQL Server Database
VB FrontEnd App.
App loads XML file data into database.
Changes are often made to the XML files. When changes are made,
the files must be reloaded into the database via the application. Changes
have been missed causing loss of production and jobs being processed
incorrectly.
I am looking for a script that will check the filedate of the
xml file or the filedate tag in the xml against a 'DesignFileDate' field in
the database. If a discrepancy in the filedates is identified, I want to
load the XML data to a temporary table [ExchangeTable] into the database
.
The developer will provide a process to either load the data
into the production database or delete the data. This will be processed from
the Exchange table.
Having no background in programming languages and fairly new to
SQL this is quite a challenge.
Any assistance is greatly appreciated..
RegardsHi steve,
I will recommend the .NET framework for your application and SQL Job Agent
for your monitoring purposes.
Regards,
Jon|||Look in "Books on Line" (BOL) that comes with SQL Server as it is a great
resource for SQL Server questions of all types.
Using T-SQL you can read values out of an XML doc and compare them to
variables in a stored proc. Look in BOL and if you have any more questions
feel free to ask.
"Steve T." wrote:
> SQL Server file system objects
> Posted: 08-18-2004 06:23 PM
> Hello World!...
> Here is the scenerio..
> SQL Server Database
> VB FrontEnd App.
> App loads XML file data into database.
> Changes are often made to the XML files. When changes are made
,
> the files must be reloaded into the database via the application. Changes
> have been missed causing loss of production and jobs being processed
> incorrectly.
> I am looking for a script that will check the filedate of the
> xml file or the filedate tag in the xml against a 'DesignFileDate' field i
n
> the database. If a discrepancy in the filedates is identified, I want to
> load the XML data to a temporary table [ExchangeTable] into the databa
se.
> The developer will provide a process to either load the data
> into the production database or delete the data. This will be processed fr
om
> the Exchange table.
> Having no background in programming languages and fairly new t
o
> SQL this is quite a challenge.
> Any assistance is greatly appreciated..
> Regards
>
>
>
Posted: 08-18-2004 06:23 PM
Hello World!...
Here is the scenerio..
SQL Server Database
VB FrontEnd App.
App loads XML file data into database.
Changes are often made to the XML files. When changes are made,
the files must be reloaded into the database via the application. Changes
have been missed causing loss of production and jobs being processed
incorrectly.
I am looking for a script that will check the filedate of the
xml file or the filedate tag in the xml against a 'DesignFileDate' field in
the database. If a discrepancy in the filedates is identified, I want to
load the XML data to a temporary table [ExchangeTable] into the database
.
The developer will provide a process to either load the data
into the production database or delete the data. This will be processed from
the Exchange table.
Having no background in programming languages and fairly new to
SQL this is quite a challenge.
Any assistance is greatly appreciated..
RegardsHi steve,
I will recommend the .NET framework for your application and SQL Job Agent
for your monitoring purposes.
Regards,
Jon|||Look in "Books on Line" (BOL) that comes with SQL Server as it is a great
resource for SQL Server questions of all types.
Using T-SQL you can read values out of an XML doc and compare them to
variables in a stored proc. Look in BOL and if you have any more questions
feel free to ask.
"Steve T." wrote:
> SQL Server file system objects
> Posted: 08-18-2004 06:23 PM
> Hello World!...
> Here is the scenerio..
> SQL Server Database
> VB FrontEnd App.
> App loads XML file data into database.
> Changes are often made to the XML files. When changes are made
,
> the files must be reloaded into the database via the application. Changes
> have been missed causing loss of production and jobs being processed
> incorrectly.
> I am looking for a script that will check the filedate of the
> xml file or the filedate tag in the xml against a 'DesignFileDate' field i
n
> the database. If a discrepancy in the filedates is identified, I want to
> load the XML data to a temporary table [ExchangeTable] into the databa
se.
> The developer will provide a process to either load the data
> into the production database or delete the data. This will be processed fr
om
> the Exchange table.
> Having no background in programming languages and fairly new t
o
> SQL this is quite a challenge.
> Any assistance is greatly appreciated..
> Regards
>
>
>
check file date script
SQL Server file system objects
Posted: 08-18-2004 06:23 PM
Hello World!...
Here is the scenerio..
SQL Server Database
VB FrontEnd App.
App loads XML file data into database.
Changes are often made to the XML files. When changes are made,
the files must be reloaded into the database via the application. Changes
have been missed causing loss of production and jobs being processed
incorrectly.
I am looking for a script that will check the filedate of the
xml file or the filedate tag in the xml against a 'DesignFileDate' field in
the database. If a discrepancy in the filedates is identified, I want to
load the XML data to a temporary table [ExchangeTable] into the database.
The developer will provide a process to either load the data
into the production database or delete the data. This will be processed from
the Exchange table.
Having no background in programming languages and fairly new to
SQL this is quite a challenge.
Any assistance is greatly appreciated..
RegardsHi steve,
I will recommend the .NET framework for your application and SQL Job Agent
for your monitoring purposes.
Regards,
Jon|||Look in "Books on Line" (BOL) that comes with SQL Server as it is a great
resource for SQL Server questions of all types.
Using T-SQL you can read values out of an XML doc and compare them to
variables in a stored proc. Look in BOL and if you have any more questions
feel free to ask.
"Steve T." wrote:
> SQL Server file system objects
> Posted: 08-18-2004 06:23 PM
> Hello World!...
> Here is the scenerio..
> SQL Server Database
> VB FrontEnd App.
> App loads XML file data into database.
> Changes are often made to the XML files. When changes are made,
> the files must be reloaded into the database via the application. Changes
> have been missed causing loss of production and jobs being processed
> incorrectly.
> I am looking for a script that will check the filedate of the
> xml file or the filedate tag in the xml against a 'DesignFileDate' field in
> the database. If a discrepancy in the filedates is identified, I want to
> load the XML data to a temporary table [ExchangeTable] into the database.
> The developer will provide a process to either load the data
> into the production database or delete the data. This will be processed from
> the Exchange table.
> Having no background in programming languages and fairly new to
> SQL this is quite a challenge.
> Any assistance is greatly appreciated..
> Regards
>
>
>
Posted: 08-18-2004 06:23 PM
Hello World!...
Here is the scenerio..
SQL Server Database
VB FrontEnd App.
App loads XML file data into database.
Changes are often made to the XML files. When changes are made,
the files must be reloaded into the database via the application. Changes
have been missed causing loss of production and jobs being processed
incorrectly.
I am looking for a script that will check the filedate of the
xml file or the filedate tag in the xml against a 'DesignFileDate' field in
the database. If a discrepancy in the filedates is identified, I want to
load the XML data to a temporary table [ExchangeTable] into the database.
The developer will provide a process to either load the data
into the production database or delete the data. This will be processed from
the Exchange table.
Having no background in programming languages and fairly new to
SQL this is quite a challenge.
Any assistance is greatly appreciated..
RegardsHi steve,
I will recommend the .NET framework for your application and SQL Job Agent
for your monitoring purposes.
Regards,
Jon|||Look in "Books on Line" (BOL) that comes with SQL Server as it is a great
resource for SQL Server questions of all types.
Using T-SQL you can read values out of an XML doc and compare them to
variables in a stored proc. Look in BOL and if you have any more questions
feel free to ask.
"Steve T." wrote:
> SQL Server file system objects
> Posted: 08-18-2004 06:23 PM
> Hello World!...
> Here is the scenerio..
> SQL Server Database
> VB FrontEnd App.
> App loads XML file data into database.
> Changes are often made to the XML files. When changes are made,
> the files must be reloaded into the database via the application. Changes
> have been missed causing loss of production and jobs being processed
> incorrectly.
> I am looking for a script that will check the filedate of the
> xml file or the filedate tag in the xml against a 'DesignFileDate' field in
> the database. If a discrepancy in the filedates is identified, I want to
> load the XML data to a temporary table [ExchangeTable] into the database.
> The developer will provide a process to either load the data
> into the production database or delete the data. This will be processed from
> the Exchange table.
> Having no background in programming languages and fairly new to
> SQL this is quite a challenge.
> Any assistance is greatly appreciated..
> Regards
>
>
>
check file date
SQL Server file system objects
Posted: 08-18-2004 06:23 PM
Hello World!...
Here is the scenerio..
SQL Server Database
VB FrontEnd App.
App loads XML file data into database.
Changes are often made to the XML files. When changes are made,
the files must be reloaded into the database via the application. Changes
have been missed causing loss of production and jobs being processed
incorrectly.
I am looking for a script that will check the filedate of the
xml file or the filedate tag in the xml against a 'DesignFileDate' field in
the database. If a discrepancy in the filedates is identified, I want to
load the XML data to a temporary table [ExchangeTable] into the database.
The developer will provide a process to either load the data
into the production database or delete the data. This will be processed from
the Exchange table.
Having no background in programming languages and fairly new to
SQL this is quite a challenge.
Any assistance is greatly appreciated..
Regards
I would recommend that you start with the SQL Server documentation (aka
Books OnLine) and the XML chapter there.
HTH
Michael
"Steve T." <stornari@.nvrinc.com> wrote in message
news:O$y%23aFjhEHA.712@.tk2msftngp13.phx.gbl...
> SQL Server file system objects
> Posted: 08-18-2004 06:23 PM
> Hello World!...
> Here is the scenerio..
> SQL Server Database
> VB FrontEnd App.
> App loads XML file data into database.
> Changes are often made to the XML files. When changes are made,
> the files must be reloaded into the database via the application. Changes
> have been missed causing loss of production and jobs being processed
> incorrectly.
> I am looking for a script that will check the filedate of the
> xml file or the filedate tag in the xml against a 'DesignFileDate' field
> in
> the database. If a discrepancy in the filedates is identified, I want to
> load the XML data to a temporary table [ExchangeTable] into the database.
> The developer will provide a process to either load the data
> into the production database or delete the data. This will be processed
> from
> the Exchange table.
> Having no background in programming languages and fairly new to
> SQL this is quite a challenge.
> Any assistance is greatly appreciated..
> Regards
>
>
Posted: 08-18-2004 06:23 PM
Hello World!...
Here is the scenerio..
SQL Server Database
VB FrontEnd App.
App loads XML file data into database.
Changes are often made to the XML files. When changes are made,
the files must be reloaded into the database via the application. Changes
have been missed causing loss of production and jobs being processed
incorrectly.
I am looking for a script that will check the filedate of the
xml file or the filedate tag in the xml against a 'DesignFileDate' field in
the database. If a discrepancy in the filedates is identified, I want to
load the XML data to a temporary table [ExchangeTable] into the database.
The developer will provide a process to either load the data
into the production database or delete the data. This will be processed from
the Exchange table.
Having no background in programming languages and fairly new to
SQL this is quite a challenge.
Any assistance is greatly appreciated..
Regards
I would recommend that you start with the SQL Server documentation (aka
Books OnLine) and the XML chapter there.
HTH
Michael
"Steve T." <stornari@.nvrinc.com> wrote in message
news:O$y%23aFjhEHA.712@.tk2msftngp13.phx.gbl...
> SQL Server file system objects
> Posted: 08-18-2004 06:23 PM
> Hello World!...
> Here is the scenerio..
> SQL Server Database
> VB FrontEnd App.
> App loads XML file data into database.
> Changes are often made to the XML files. When changes are made,
> the files must be reloaded into the database via the application. Changes
> have been missed causing loss of production and jobs being processed
> incorrectly.
> I am looking for a script that will check the filedate of the
> xml file or the filedate tag in the xml against a 'DesignFileDate' field
> in
> the database. If a discrepancy in the filedates is identified, I want to
> load the XML data to a temporary table [ExchangeTable] into the database.
> The developer will provide a process to either load the data
> into the production database or delete the data. This will be processed
> from
> the Exchange table.
> Having no background in programming languages and fairly new to
> SQL this is quite a challenge.
> Any assistance is greatly appreciated..
> Regards
>
>
Subscribe to:
Posts (Atom)