Viewing 15 posts - 6,286 through 6,300 (of 8,416 total)
Or even:
DELETE dbo.Table1 WHERE id = ANY (SELECT D.id FROM dbo.Table2 D);
January 31, 2010 at 5:33 am
I would just add that if you are doing a lot of work with this type of thing, you might want to take a look at the geometry data type...
January 31, 2010 at 5:14 am
No, not as far as I know. Seems an odd requirement though.
Take a look at the data available from the sys.dm_exec_sessions and sys.dm_exec_connections DMVs.
You can get packet counts, reads,...
January 31, 2010 at 4:47 am
If you are looking to simulate a computed column across three tables (and it sounds as if you are), consider a view:
USE tempdb;
GO
-- Three related tables
CREATE TABLE dbo.T1 (PK INT...
January 31, 2010 at 4:40 am
michael.french 172 (1/29/2010)
Can someone explain to me why this coding pattern would useful?
That looks like an ugly workaround for something the previous guy didn't know how to do properly.
Check for...
January 31, 2010 at 4:00 am
In case the syntax is new to you, Flo is referring to INSERT...EXEC:
INSERT {table-name}
EXECUTE {stored-procedure-name}
You must create the table (normal, temporary, or variable) beforehand, and it must have a structure...
January 31, 2010 at 3:50 am
F. van Ruyven (1/29/2010)
January 31, 2010 at 3:41 am
In case anyone's interested, we might have a new option for this sort of thing in 2008 R2 - the stupidly-named but nonetheless intriguing 'DAC packs'. See http://www.brentozar.com/archive/2009/08/sql-server-2008-r2-the-dac-pack/
January 31, 2010 at 3:16 am
Avoid string manipulation of dates and times if at all possible.
An alternative approach might be:
DECLARE @DateOnly DATE = GETDATE(),
...
January 31, 2010 at 2:50 am
While you're reading up on it, pay close attention to the importance of trying to back up the 'tail of log' before commencing recovery operations.
The start of a very useful...
January 31, 2010 at 2:35 am
rambilla4 (1/27/2010)
January 31, 2010 at 2:26 am
Ritesh Medhe (1/29/2010)
January 31, 2010 at 2:23 am
Matt,
I wouldn't take it too much to heart. There is always a risk of misunderstanding arising when communication occurs in this medium. Personally, I didn't find too much...
January 30, 2010 at 4:35 am
GilaMonster (1/30/2010)
It's Hermes (Mercury) one of the greek gods. I believe he was the messenger of the gods
Thanks
January 30, 2010 at 2:12 am
Jason,
What the heck is that new avatar? I miss the old one 🙂
January 30, 2010 at 1:42 am
Viewing 15 posts - 6,286 through 6,300 (of 8,416 total)