With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.
ALTER FUNCTION [GetTableName](@Criteria VARCHAR(1)) RETURNS varchar(50) AS BEGIN DECLARE @Output varchar(50) SET @Output = '' SELECT @Output = CASE WHEN @Criteria = 'A' THEN 'TABLE_A' WHEN @Criteria = 'B' THEN 'TABLE_B' WHEN @Criteria = 'C' THEN 'TABLE_C' END RETURN @Output END Create PROCEDURE [dbo].[sp_TestStoreProc] SELECT TOP 1 * FROM + GetTableName('B') END
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.