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

Help : what this Error means

gauravgmbhr
107 100+
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_stocks INTEGER, index_pe_ratio numeric, index_pb_ratio numeric, index_avg_mkt_cap 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
Apr 10 '07 #1
1 2401
michaelb
534 Expert 512MB
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?
Apr 10 '07 #2

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

Similar topics

8
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...
0
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:...
8
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 -------------------------------------------------------------------------------- ...
8
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...
1
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...
15
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"...
7
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...
2
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,...
5
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 ...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
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
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...
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
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.