Viewing 15 posts - 9,511 through 9,525 (of 13,460 total)
lcarrethers (5/10/2010)
Lowell
May 10, 2010 at 11:26 am
I carry LinqPad[/url] around on a flash drive for occasions when i sit at a machine without SSMS;
it's portable and has the ability to do object explorer equivilents as well...
Lowell
May 10, 2010 at 11:12 am
ok i think this is doing what you want;
i'm getting the original group as a sub select, and then rejoining it to the original table.
i think there was an error...
Lowell
May 10, 2010 at 11:06 am
between your two posts, the data changed; more columns, other null fields, etc.
here is the second pass; this xemplifies why posting the table and data works so well...it avoids...
Lowell
May 10, 2010 at 9:24 am
since you are new, I'm helping out and providing the work table and the data in a consumable format;
that way anyone can test a query against it and confirm results.
In...
Lowell
May 10, 2010 at 9:16 am
this is a logical mistake; you should never try to keep a counter in a table; the counter should be derived in a view, instead; go with bteraberry's idea and...
Lowell
May 7, 2010 at 11:18 am
that's the old, deprecated syntax to designate outer joins:
--AND R.Code = W.TransactionType is the same as
FROM R INNER JOIN W ON R.CODE = W.TransactionType
--AND R.Code *=...
Lowell
May 7, 2010 at 10:52 am
most mail servers allow relaying only for two conditions: if your IP address is on the same subnet as the mail server, ie the internal IP to your mail...
Lowell
May 7, 2010 at 10:25 am
what does "sychronize" mean to you?
can you just take the backup at ServerA and restore it at ServerB, or does each server have data that their opposite server does not...
Lowell
May 7, 2010 at 10:15 am
Wayne what you are after is stored in the registry, and it depends on which verison of SSMS you are using for the exact key;
the lazy way is to regedit...
Lowell
May 7, 2010 at 10:00 am
i mistook the requirement to be info in @@Version, to see if it was Express/Workgroup/Standard/Enterprise/Developer that had been using the file.
Lowell
May 7, 2010 at 6:51 am
i don't believe this is possible;
i was under the impression that the mdf is a standard file format for each version(2000/05/08)...meaning that all versions of SQL save to the...
Lowell
May 7, 2010 at 6:42 am
i was a little unsure on which to select; his thread title said "Select tbl1.a if exists otherwise tbl2.a",
and i glossed over the implication that whether tbl1 or tbl2 =...
Lowell
May 6, 2010 at 12:22 pm
-- COALESCE returns the first non-null value from the list provided; it is a param array, so an large number of arguments can be passed to check for non-nulls.
SELECT COALESCE(tbl1.a,tbl2.a,'no...
Lowell
May 6, 2010 at 12:08 pm
i suspect you need to use ISNULL for each of your columns, right?
concatenating NULL to anything is null, so i think that's the problem:
DECLARE @tableHTML NVARCHAR(MAX);
SET @tableHTML =
N'<H1>Hot Item(S)...
Lowell
May 6, 2010 at 8:56 am
Viewing 15 posts - 9,511 through 9,525 (of 13,460 total)