skip to main
|
skip to sidebar
codingstuffs
Notes on coding...probably more for myself than anyone else.
Wednesday, April 18, 2007
Assigning Variables With Select
declare @tablename varchar(100)
select @tableName = (select distinct TableName from aTable)
select @tablename
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Blog Archive
►
2010
(1)
►
August
(1)
►
2008
(3)
►
October
(1)
►
April
(1)
►
January
(1)
▼
2007
(13)
►
October
(2)
►
June
(1)
▼
April
(3)
IF...ELSE Blocks
Cursors
Assigning Variables With Select
►
March
(1)
►
February
(6)
About Me
Pete
View my complete profile
No comments:
Post a Comment