473,396 Members | 2,111 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Control Scripts

I've been struggling on how to get an SQL statement into a variable and
use that variable in another statement. IE. in MS SQL, I can do
something like this:

Select @Thisvar = table.column from othertable.column
where otherColumn = someuniquerow

Select othertable.column from othertable2.column
where anotherColumn = @Thisvar

How do I do this in DB2? Please help point me in the right direction (or
mdoc). Either I've read it and misinterpreted the results or looking in
all the wrong places. I'm running iSeries V5.r2.

Thanks

Chris
Nov 12 '05 #1
0 1162

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Raghuraman | last post by:
Hai ! I use the Grid control with the data environment and the recordset control by dragging from the data env. But if i run the page alone in the iexplorer it tells the error like pm.script...
0
by: hungrymind | last post by:
Hi All, I have created a custome control for ASP.net. That control has lot of javascript files & images. Is there any way to protect those from users. Like if I sell/distribute those file to...
1
by: New User | last post by:
I have following structure for my project myproj Controls/control1 morepages/special.aspx specialpages/webpage1.aspx scripts/filename.js default.aspx
3
by: Michael | last post by:
Hi all.. I have a solution containing 5 projects, one of which is a custom control. In one of the projects, I dragged the .ascx file from the custom control project and dropped it onto a form....
3
by: DEWright_CA | last post by:
I have 2 controls on a page that need to be defined by absolute horiz. and vert. sizes, and both need to be a percentage of the screen size. Does anyone know of a easy way to grab the screen...
2
by: Shawn | last post by:
Hi. I've never created an ActiveX control before, so I know little about what it is capable of and what its limitations are. My problem is this: I have to create a way to send multiple documents...
1
by: Joe Ciaramitaro | last post by:
I have an application that I was trying to convert to vb.net which contains the msscript object to call custom perl scripts which msscript does great. After converting to .net the control doesn't...
1
by: Sin Jeong-hun | last post by:
Is it possible to modify the HTML or the script of a WebBrowser control in DocumentCompleted event? I tried to modify it but that caused DocumentCompleted again so the program fell in an endless...
3
by: cfps.Christian | last post by:
I'm trying to have a javascript file included with my usercontrol, but when the page loads it says that none of my JS methods are there. What are the steps that I need to take to get a javascript...
4
by: George | last post by:
How do I tell script manager to load necessary JavaScript files to support CalendarBehavior. If I drop Calendar control on the page it's done automatically. But I do not have CalendarControl on...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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...
0
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,...
0
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...
0
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...

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.