Viewing 15 posts - 48,061 through 48,075 (of 59,095 total)
In other words, start by doing an OUTER JOIN on the homes table with all the other tables. Then, wittle from there.
--Jeff Moden
Change is inevitable... Change for the better is not.
September 28, 2008 at 7:16 pm
You'd get better help quicker if you'd follow the methods in the article in the link in my signature below... 😉
--Jeff Moden
Change is inevitable... Change for the better is not.
September 28, 2008 at 7:10 pm
cuteprabakar (9/27/2008)
USERS
[userid] [int] NOT NULL,
[password] [int] NOT NULL,
[Fullname] [nvarchar] (50)...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 28, 2008 at 7:08 pm
Not sure if it's possible, but it would also be really cool if we could have discussions on SQL Server about articles not on SQL Server. In other words,...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 28, 2008 at 6:56 pm
Keller (9/28/2008)
Please don't ever eliminate the outtakes. "The human side of Steve Jones" is my favorite part of every editorial! 🙂 (Besides the valuable content, of course!)
I'll...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 28, 2008 at 6:54 pm
The OP must like porkchops...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 28, 2008 at 6:51 pm
Not sure what you mean, but if you want to pass an array to SQL, then the following article will help... covers passing of 1, 2, and 3 dimensional arrays...
http://www.sqlservercentral.com/articles/T-SQL/63003/
--Jeff Moden
Change is inevitable... Change for the better is not.
September 28, 2008 at 6:45 pm
Matt Miller (9/27/2008)
Jeff Moden (9/27/2008)
Heh... thanks for posting your solution. Sometimes the problem just boils down to "must look eye." 🙂
Any more references like these and you're going...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 28, 2008 at 6:40 pm
Matt Miller (9/27/2008)
There's always TRY/CATCH, too.
Yeah, I know... but I just can't bring myself to programming by exception. I'd rather know the correct answer up front and take...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 28, 2008 at 6:38 pm
You bet, Neela.
--Jeff Moden
Change is inevitable... Change for the better is not.
September 28, 2008 at 6:35 pm
I'm not sure who gave you the requirements on these file names, but the yyyymm format will serve you much better and for much longer.
--Jeff Moden
Change is inevitable... Change for the better is not.
September 27, 2008 at 9:20 pm
salvysmith08 (9/24/2008)
...if you can show me how to dynamically add column GRP on every dynamic table then that would great.
Old gaming trick... when you can't move, change color... Temp Table...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 27, 2008 at 9:04 pm
sivavardhan (9/26/2008)
if exists
(select name from master..sysdatabases where name like '%abc%')
Begin
...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 27, 2008 at 8:11 pm
vyas (9/24/2008)
IF EXISTS(select * FROM master..sysdatabases where [name] ='pubs')
begin
use pubs
...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 27, 2008 at 7:59 pm
Stuff it...:P seriously... the STUFF solution that Chris Morris posted will do the trick just fine.
--Jeff Moden
Change is inevitable... Change for the better is not.
September 27, 2008 at 7:49 pm
Viewing 15 posts - 48,061 through 48,075 (of 59,095 total)