Insights Blog
-- Browse All Articles --
Physics Articles
Physics Tutorials
Physics Guides
Physics FAQ
Math Articles
Math Tutorials
Math Guides
Math FAQ
Education Articles
Education Guides
Bio/Chem Articles
Technology Guides
Computer Science Tutorials
Forums
Chemistry
Biology and Medical
Earth Sciences
Computer Science
Computing and Technology
DIY Projects
Trending
Featured Threads
Log in
Register
What's new
Search
Search
Search titles only
By:
Chemistry
Biology and Medical
Earth Sciences
Computer Science
Computing and Technology
DIY Projects
Menu
Log in
Register
Navigation
More options
Contact us
Close Menu
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Forums
Other Sciences
Programming and Computer Science
Remembering T-SQL: SET vs SELECT and OBJECT_ID()
Reply to thread
Message
[QUOTE="WWGD, post: 5449850, member: 69719"] Hi, I wonder if someone remembers their T-SQL. We have this statement: [ATTACH=full]99458[/ATTACH] Just curious: I remember using SET where SELECT appears. Is this SELECT used in order to assign values to many variables simultaneously? Also, Is there a reason to use two separate DECLARE statements , or could we just use a single one? EDIT : I am also confused about the OBJECT_ID function. I tried it on my SQL Server and got an error message when entering the name of the database I was using, i.e., OBJECT_ID( 'Database Name') generated an error message. Thanks. [/QUOTE]
Insert quotes…
Post reply
Forums
Other Sciences
Programming and Computer Science
Remembering T-SQL: SET vs SELECT and OBJECT_ID()
Back
Top