ERROR: returned record type does not match expected record type
HI friends
what does this error means
M not able to figure out
M calling a function that returns a record type
HERE are the values that r returned by the query executing inside the function
NOTICE: ((29,19.98,4.54 ,10024,50,25.59 ,6.31,83810))
This notice is raised inside the function
AND m calling the function
with this query
SELECT * FROM get_fund_style_ details(952) AS (total_stocks INTEGER, pe_ratio numeric, pb_ratio numeric, avg_mkt_cap integer,
index_total_sto cks INTEGER, index_pe_ratio numeric, index_pb_ratio numeric, index_avg_mkt_c ap integer)
Which is in same order as the output shown bu notice
But still m getting the error
NOTICE: ((29,19.98,4.54 ,10024,50,25.59 ,6.31,83810))
ERROR: returned record type does not match expected record type
SQL state: 42804
Context: PL/pgSQL function "get_fund_style _details" while casting return value to function's return type
CAN SOME ONE HELP ME
1 2419 michaelb 534
Recognized Expert Contributor
Please read the Posting Guidelines at the top of the forum.
You did use the CODE tags in your previous postings,
and what's this "M calling", "M not able" is about?
Sign in to post your reply or Sign up for a free account.
Similar topics |
by: JKJr |
last post by:
I have an hp printer that im trying to hookup to my dell comp. I talked to hp
and they said, "It does not work because you have to have Microsoft .Net."
Well I tried installing Microsoft .Net and I get an error 1935 or something
like that. They said, "Error 1935 means you already have Microsoft .Net and
this one cannot overwrite it." So we tried finding it on my comp and could
not. So they said, "I dont know why Microsoft .Net wont...
|
by: Jon LaRosa |
last post by:
Hi all -
I have a web application and I want to be able to do some basic error
handling. For example, here is one error I would like to catch and
display in a useful way for the user:
-----------------
Microsoft OLE DB Provider for ODBC Drivers error '80040e14'
UPDATE statement
conflicted with COLUMN FOREIGN KEY constraint
|
by: baustin75 |
last post by:
Posted: Mon Oct 03, 2005 1:41 pm Post subject: cannot mail() in ie
only when debugging in php designer 2005
--------------------------------------------------------------------------------
Hello,
I have a very simple problem but cannot seem to figure it out. I have a
very simple php script that sends a test email to myself. When I debug
it in PHP designer, it works with no problems, I get the test email. If
|
by: frank |
last post by:
Below is some code for doing and insert into one of my tables. The
inserts do not work because a duplicate key exists, which I want to
happen. The problem is, I cannot get access to return an error for this
condition.
What can I do to get access to return an error on my query?
Thanks
|
by: Rahul |
last post by:
Hi Everybody
I have some problem in my script. please help me. This is script file.
I have one *.inq file. I want run this script in XML files. But this
script errors shows . If u want i am attach this script
files and inq files. I cant understand this error. Please suggest me.
You can talk with my yahoo id b_sahoo1@yahoo.com. Now i am online.
Plz....Plz..Plz...
| |
by: Giggle Girl |
last post by:
Hello there, :)
I need a frameset that will have the same look and behavior in Firefox
1.5+ as it does in IE 6+. Here is a URL for it:
http://66.51.164.93/fs/default.htm
In IE, the "seam" between the three frames is blue, 4 or 5 pixels
wide, and -- most importantly! -- draggable! It is great -- in IE,
that is. Is it possible to have this same look and behavior in
Firefox?
|
by: The Man |
last post by:
Hello All:
I am in desparate need of assistance. We are using an application
called PaperVision Enterprise which takes scanned invoices and puts
them into a database for the purpose of easy reference to any scanned
invoice in the db. 2 weeks ago while trying to perform a 'match and
merge' of the newly scanned docs, we received a Run-time error
'-2147217871 (80040e31)": Timeout expired message. After being told by
the company who supports...
|
by: =?Utf-8?B?TWlrZQ==?= |
last post by:
Hi Guys,
I have a real serious problem that stoped me doing any progress in my project.
in one of my webpages I have a wizard of more then 13 pages and in every
page some Ajax controls, textboxes, dropdownlists, about 4 panels, where
every page in my wizard have almost the same controls; so all what I had to
do is copy the controls from a wizard page then paste it to next one and just
change the controls names and it was going all fine...
|
by: remya1000 |
last post by:
i'm using VB.NET 2003 application program.
i'm using WinSock in this program. on Page_Load, i used this code
winsock1.Close()
winsock1.LocalPort = 1223
winsock1.Bind()
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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,...
| |
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...
|
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...
|
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,...
|
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...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |