August 24, 2011 at 9:01 am
Hi
In One My of Database "Table Value Function" is not working properly what factor can i check.
the same copy of backup is restored another database .it is working properly.
how can i check that one
at what factore it may be consuming
August 24, 2011 at 9:04 am
"not working properly" is really tough to diagnose without seeing the function itself,as well as how you are calling the function.
do you mean it doesn't return the expected results? wrong results? no data? returns an error? are you giving the procedure parameters? are they correct? are they NULL?
help us help you! give us CREATE TABLE, CREATE FUNCTIOn and INSERT INTO...statements so we can duplidate whatever you are testing ourselves; we can then offer tested solutions and concrete advice.
Lowell
August 24, 2011 at 9:07 am
i am passing two parametres start date and end date
it will creating temporay table and generating result one
August 24, 2011 at 9:08 am
Div Goud (8/24/2011)
i am passing two parametres start date and end dateit will creating temporay table and generating result one
well, a function can only create a table variable, and cannot create a temp table...maybe you want to show us the actual function you've got so far?
Lowell
August 24, 2011 at 9:10 am
yaa its creating table varibe only
August 24, 2011 at 9:14 am
--Cursor to check with all other records
While @@fetch_status=0
Begin
Set @cnt = @cnt-1
Viewing 6 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic. Login to reply