473,809 Members | 2,625 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Regarding DTS Package Execute SQL Task

49 New Member
Hello,
I've a DTS Package in which i'm using Execute SQL Task. It's having a connection CON1. I've a function which is defined at DataBase level CON2. The query in the Execute SQL Task is an Update Query. It takes data from CON2 and updates in CON1. SO how can i call the function which is defined at database level into my Execute SQL Task update query. I don't know the syntax. Also that function taking 3 input parameters which i'm trying to pass as global varibale. Below is the syntax i'm trying to call the function "GetOrderTy pe" in the update stmt. Plz help me. It's urgent. Thanks in Advance.

intContractOrde rNrDelivered = OCSLoad..CM_mut ations.CMDCON + (exec dbo.GetOrderTyp e(?,?,?)),
Mar 7 '08 #1
0 1076

Sign in to post your reply or Sign up for a free account.

Similar topics

0
2820
by: Grant | last post by:
Hi, Could any body tell me what is the problem? I wrote a DTS application which will download a large file (about 100M) and bulk insert many records into the database (about 300'000 each time), when calling the Package.Execute method, the program sounds no response though the records are inserting to the DB at that time. Here is some of my code (Delphi, DTS FTP Task):
1
4617
by: Jagannathan Santhanam | last post by:
Hello I am trying to execute ‘xp_cmdshell' from within a DTS package that was created by another person. When I try to execute that ‘SQL Task' selectively from within the package, I get the following error message: Error Title: Package Error Error Details: Error Source: Microsoft OLE DB Provider for SQL Server
1
3802
by: xo55ox | last post by:
Hi, Did anyone successfully set up a local package to first ftp a db.bak and second perform an automated db restore? I need to perform an automated task, which ftp nightly backup file to another server and then restore onto a database and leave the database in read-only mode for additional transaction logs restore during the day.
2
2927
by: Rich Tasker | last post by:
My goal is to execute a DTS package that calls multiple child DTS packages from a C# (2003) app and display the progress of the entire process to the user. I have followed the model defined in this knowledge base article. ( http://support.microsoft.com/?id=319985 ) to execute a DTS package and monitor it's events. I'm not able to capture the events from a child package that is called from an Execute Package task. I've seen a few...
1
2398
by: serge | last post by:
When I start creating a new DTS Package and I choose the Analysis Processing Task icon, I only have the option of working with the local Microsoft Analysis Server. How can I choose a remote server's Analysis Server in order to process its database? Thank you
0
1828
by: Rodrigo Bellusci | last post by:
I´m using the following code to execute a SSIS package: string pkgLocation; Package pkg; Microsoft.SqlServer.Dts.Runtime.Application app; DTSExecResult pkgResults; pkgLocation = @"C:\test\Package.dtsx"; app = new Microsoft.SqlServer.Dts.Runtime.Application();
8
2517
by: Shals | last post by:
Hi, I have a DTS Package created in SQL Server but the client wants to execute the DTS package from within MS Access by clicking a button. If any one can tell me how to execute that DTS from with in MS Access(VBA Code) any suggestions would be helpful. Thanks, Shal
0
2953
by: psion | last post by:
Hello, I am trying to pass a variable before run time of an integration package, that would tell that package which other packages to run, based on "precedence constraint" Expression @listid == 16. The way it's set up is an sql task, without an sql query, is first to execute. From this sql task, four output connections lead to 4 different packages, each one having a different precedence constraint value from @listid. Whichever listid...
0
2195
by: Rahul | last post by:
Friends, My Question is related to the DTS Package (Dynamic Properties Task). I have a DTS package, In this, I transfer data from a database to another database. Senario -: (DB1.tbl1 --DB2.tbl1) (DB1.tbl2 --DB2.tbl2) (DB1.tbl3 --DB2.tbl3)
0
9603
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10643
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10378
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10391
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10121
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9200
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6881
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5550
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5690
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.