GenDev
collate SQL_Latin1_General_CP1_CI_AS
select sql = case when name = (select min(name) from GenDev.master.dbo.sysdatabases) then 'select ' else 'union select ' end + '[Database] = ''' + name + ''', [Object] = name collate ' + 'SQL_Latin1_General_CP1_CI_AS, [Type] = type collate ' + 'SQL_Latin1_General_CP1_CI_AS from GenDev.[' + name + '].dbo.' + 'sysobjects where name collate SQL_Latin1_General_CP1_CI_AS = ' + '@name collate SQL_Latin1_General_CP1_CI_AS' from GenDev.master.dbo.sysdatabases order by name
create procedure MyProcedureName(@name nvarchar(128)) as
order by 1
ScrewTurn Wiki version 3.0.1.400. Some of the icons created by FamFamFam. Except where noted, all contents Copyright © 1999-2024, Patrick Jasinski.