Viewing 15 posts - 18,691 through 18,705 (of 18,923 total)
That will do it... won't be fast but it won't cost you any data :
Use Master
GO
CREATE TABLE dbo.TABLE1
(
PkTest char(10) NULL
) ON [PRIMARY]
GO
Select name, XType, Status from dbo.SysObjects where...
January 12, 2005 at 1:14 pm
well one way that almost looks like what you are wanting to do is to debug the SP. In QA select your stored proc in the object browser and...
January 12, 2005 at 12:43 pm
I've never heard of a user creating a system table. How did he do that?
Also I don't think it's possible to do this (because you could also remove other...
January 12, 2005 at 12:40 pm
This is a shot in the dark.. but have you tried this :
CHAR(13) + 'Comment 1' + ': ' + rtrim(so.comments_1) + CHAR(13) + 'Comment 2' + ': '...
January 12, 2005 at 12:36 pm
Please try to avoid using dynamic sql. It's a bad coding habit and it exposes you to sql injection (hacker could take control of your whoole domain (not just...
January 12, 2005 at 10:01 am
Just using bummed in it's real context...
January 12, 2005 at 6:40 am
I don't think it can be done... But maybe you could check for the rows that don't fit in the table and delete those (or send them to another...
January 11, 2005 at 9:45 pm
I got 2 ideas.
1 - you can make another field that keeps lets say the 8 last numbers of the card and do a search on those number.. however you...
January 11, 2005 at 9:43 pm
Neat trick AJ. It works faster than my version and is much easier to understand.
One less thing to learn today ![]()
January 11, 2005 at 1:34 pm
Yes we can all see that... hopefully you'll make it work in a set based operation someday.
Good luck.
January 11, 2005 at 1:04 pm
This isn't bullduzer but I'm not sure it's the fastest approach, but that works so :
Select cast(dtName.Name as varchar(100)) as Name from
(Select distinct(cast(name as varbinary)) as Name from dbo.ObjSQL...
January 11, 2005 at 11:36 am
You can't do that
Where HorseID = @LstHrse
end
means
Where HorseID = 'what ever you typed here but in varchar format'.
January 11, 2005 at 11:27 am
This works for me.
Declare @Names as varchar(8000)
set @Names = 'SysObjects, SysIndexes'
--this is in your stored proc :
set @Names = ',' + Replace(@Names, ' ', '') + ','
Select Id, Name,...
January 11, 2005 at 11:22 am
What's the matter Frank... you seem a little bummed out???
January 11, 2005 at 8:56 am
Are the lines added at the top or the bottom of the code??
Also one thing to might solve the problem is to use GO and the beginning and the end...
January 10, 2005 at 7:50 am
Viewing 15 posts - 18,691 through 18,705 (of 18,923 total)