You are here: Re: Creating a dynamic Global Temp Table within a stored procedure « MsSQL Server « IT news, forums, messages
Re: Creating a dynamic Global Temp Table within a stored procedure

Posted by --CELKO-- on 09/07/06 18:21

>> I wish to create a temporary table whose name is dynamically based on the argument sic: parameter]. <<

Not in an RDBMS! You missed the basic concepts of what a table is. It
models an entity or relationship in a real world. To have tables
created on the fly is to have a world in which elephants or any other
entity at all can fall from the sky.

Next, using temp tables of any kind is a sign of poor SQL programming.
This is just like hanging a scratch tape in a 1950's file system, so
you can do a sequence of procedural steps instead of using declarative
programming.

What is the REAL problem? Don't tell us what kind of kludge you want.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация