Cannot find table 0
All i had to do was to add SET NOCOUNT ON.that took care of the cannot find table 0thanks 4 the replays.
View ArticleCannot find table 0
Can you use @GetData (of Table datatype) instead of ##GetData() if your situation permits? I hope, that will solve your problem.-Vinay Pugalia If a post answers your question, please click "Mark As...
View ArticleCannot find table 0
Yes how do i get tisIf exists (Select * from tempdb.information_schema.columns where table_name = '##getdata' and column_name = 'SIM') ALTER TABLE ##getdata ADD [NUMBER] nvarchar(30) NOT NULL...
View ArticleCannot find table 0
Those statements are in proc, right? Are you droping the ##getdate table in proc?I would suggest to use #getdata(temp table) instead of ##getdata(global temp table). Is there any chance two connections...
View ArticleCannot find table 0
the ##getdata table it has values, i think it has to do with if statment and exec(@sql) bacause when i alter the SP i Get the results from the firs sqlect statment.
View ArticleCannot find table 0
have you tried executing the SP in sql server? since in the code, if there is no data returned by the sp then you need to put check on whether that dataset contains table or not.DataSet ds = fill from...
View ArticleCannot find table 0
"cannot find table 0", This looks like a .NET error message.The issue might be at either or both side(.NET or SQL Server)Try to make sure the following: 1. ensure your proc is returning always a...
View ArticleCannot find table 0
I suspect on ##getdata. Check its value, it may be 0 therefore you are getting the error.
View ArticleCannot find table 0
Hi,i have a SP that populates a datagridview.if i have only SELECT statment is returns the rows but i need to have if else and when i do that i get the error of cannot find table 0. the Sp gets data...
View Article