does anyoen know why this doesn't work..i think it's pretty self-explanatory what i'm trying to do
CREATE PROCEDURE spWorkCenter_SELECT
(
@tblDepartments_Abbrev char(3),
@WorkCenter_ID char(5)
) AS
SELECT
*
FROM
(
SELECT
t.name
FROM
sysobjects t
WHERE
t.name = ( 'tblWC_' + @tblDepartments_Abbrev + '_' + @WorkCenter_ID )
)
thanks again mike griffith
----------------------------
mgriffith@lauren.com
mdg12@po.cwru.edu
CREATE PROCEDURE spWorkCenter_SELECT
(
@tblDepartments_Abbrev char(3),
@WorkCenter_ID char(5)
) AS
SELECT
*
FROM
(
SELECT
t.name
FROM
sysobjects t
WHERE
t.name = ( 'tblWC_' + @tblDepartments_Abbrev + '_' + @WorkCenter_ID )
)
thanks again mike griffith
----------------------------
mgriffith@lauren.com
mdg12@po.cwru.edu