473,386 Members | 1,958 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,386 software developers and data experts.

Wierd script!!!!

1
Heah,

I have 2 tables CLAIMS and CLAIMSEXP that are linked by a REFNUMBER. I want to update a field called LOCS in the CLAIMS table when another field NUMBER in the CLAIMSEXP table is a particluar value.

Any ideas?? :confused:

I get to something like:

UPDATE CLAIMS
SET CLAIMS.LOCS ='XXXXXXXXXXX'
WHERE
(SELECT CLAIMEXP.NUMBER
from CLAIMEXP
WHERE CLAIM.REFNUMBER=CLAIMEXP.REFNUMBER and CLAIMSEXP.NUMBER='XXXXXXX')
Feb 20 '06 #1
1 1342
ashishm
13
Use This

UPDATE CLAIMS
SET LOCS ='XXXXXXXXXXX'
WHERE REFNUMBER in
(SELECT CLAIMEXP.REFNUMBER
from CLAIMEXP
WHERE CLAIM.REFNUMBER=CLAIMEXP.REFNUMBER and CLAIMSEXP.NUMBER='XXXXXXX')
Feb 25 '06 #2

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

Similar topics

9
by: John Pether (john | last post by:
have been working with a site and today started getting an error when uploaded page on the live server...everything works well locally... The XML page cannot be displayed Cannot view XML input...
7
by: TValdo | last post by:
Hello everyone! I'm having strange problems with textareas... This is my situation: I have a document, which opens in a pop-up, with a form (let's call it form1). This form contains 3 hidden...
3
by: Markus Fischer | last post by:
Hi, I'm experiencing a wierd problem with IE 6 in Windows with two _slightly_ different Version. Give the following HTMl-Code, ideally the output of offsetTop should be "105"; a few pixel...
1
by: paul reed | last post by:
Hello, I am having some weird behavior between two machines...one which is running the 1.1 framework and one which is running 1.0. After opening a child form from a parent...I update the...
1
by: Shaman | last post by:
ok i got this wierd problem which took me 4 hours already and im still stuck :/ anybody know what is wrong here ------Code----- Public Class guildnod Private node() As TreeNod Private tot As...
1
by: richardsayre | last post by:
I am making a spell checker. The reqest sends out the text and gets back HTML of the suggestions and misspelled words. When you click on a misspelled word the suggestion list pops up and you can...
3
by: walkeraj | last post by:
I'm trying to compile an open source game called IVAN , and I'm able to compile it from a makefile, but not from an IDE. I have attempted to recreate the way the makefile compiles the project as...
5
by: desktop | last post by:
I am confused about the use of the template parameter "E" in the below class. Since when is it allowed to use these parameters like "E(1)" and what does it mean (where can I read more about this...
0
by: alag20 | last post by:
Hi Guys, Can someone please help me with this wierd issue? I have a c# code below string lcUrl = "myscript.cgi"; // *** Establish the request
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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...

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.