Viewing 15 posts - 12,736 through 12,750 (of 18,923 total)
Create procedure dbo.test (@column char(2))
as
exec ('select itemtype from import where ' + @column + ' = ''x''')
go
Make sure you read this before going down that road.
October 4, 2005 at 1:24 pm
Select dateadd(D, 0, Datediff(D, 0, GetDate()))
October 4, 2005 at 11:53 am
Can't find anything either in BOLs!!
Does that mean that microsoft isn't perfect???
October 4, 2005 at 11:49 am
The solution to that problem is quite easy, can you post the ACTUAL NON SIMPLIFIED problem so that we don't do the work twice??
October 4, 2005 at 11:36 am
It's not the first time I hear of performance problems when talking about table variables
. Looks like you're past the threashold of...
October 4, 2005 at 11:25 am
Could you post the tables DDL and the full sql statement? Maybe we'll spot the problem.
October 4, 2005 at 11:24 am
Are those tables in the same db?
Do the tables have the same collations?
October 4, 2005 at 10:16 am
Select id, name, enabled, email_address from dbo.SysOperators
October 4, 2005 at 10:15 am
Already sent him this link... I wanted to have a more experienced person make a correct recommendation. I never actually had to make such a choice in my [short]...
October 4, 2005 at 9:44 am
where CreateDate >= '12/12/2005 1:00 PM' and CreateDate < '12/12/2005 2:00 PM'
October 4, 2005 at 9:40 am
Viewing 15 posts - 12,736 through 12,750 (of 18,923 total)