"Claus G" <cl******@jubii.dkwrote in message
news:11**********************@m7g2000cwm.googlegro ups.com...
Thank You it works, everything is so easy whwn you now have to do it. i
am very greatfull.
No problem.
Don't take this the wrong way, but the T-SQL I gave you is *really* basic,
so you might benefit hugely from a beginner's guide...
Everybody has to start somewhere, and this sort of thing can be really
daunting without the basic building blocks...
Also, if you are building up SQL dynamically, you can run into problems with
SQL injection (Google it), so you should at least investigate using a stored
procedure / parameterised query if you can...