Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
Vinnie881
Master Smack Fu Yak Hacker
1231 Posts |
Posted - 2008-07-28 : 21:43:57
|
Does anyone know why this works.If you create a store procedure with a tmp tablecreate proc Sproc_TestasSelect 1 as mycolinto #tmpSelect * from #tmp When using .net dataset designer it can not create the data set.the workaround I found is by adding this codeAlter proc Sproc_TestasIF 1=0 BEGIN SET FMTONLY OFFENDSelect 1 as mycolinto #tmpSelect * from #tmp the codeIF 1=0 BEGIN SET FMTONLY OFFENDbeing added to the top of the procedure allow .net dataset designer to properly create a dataset.Anyone know what this works? |
|
|
|
|