Viewing 15 posts - 5,161 through 5,175 (of 14,953 total)
It has to do with the sequence in which SQL Server does things.
First, it tests to make sure it can compile the code. Then it tests to make sure...
February 1, 2011 at 11:31 am
And the times it won't work out are times the plan is likely to change anyway.
It's usually good enough to copy the database over to parallel hardware.
The thing to avoid...
February 1, 2011 at 10:26 am
I don't know that SSMS really does that. There are plenty of tools out there for it, but I don't think SSMS is one of them.
February 1, 2011 at 9:55 am
It's been a few years since I worked with Access-on-SQL (sounds like that should be the name of a village in England), but if I remember correctly, the key thing...
February 1, 2011 at 9:22 am
I did the opposite, in a way.
Went from management/supervisor roles, into sales/marketing, and then into IT.
The key thing to know in any management position is how to deal with communications...
February 1, 2011 at 9:19 am
The first step is to build a Select statement that will get all the ones you want to exclude directly or indirectly.
select *
from MyTable
where ip = '1.1.1.1'
or wordtexts = 'tokyo';
Then...
February 1, 2011 at 9:12 am
Stefan Krzywicki (2/1/2011)
Brandie Tarvin (2/1/2011)
CELKO (1/31/2011)
Actually, INSERT and UPDATE are single table operations, while MERGE requires a source and target.
I haven't moved up to SQL 2k8 yet, so haven't...
February 1, 2011 at 7:53 am
You're welcome.
I actually learned about that from an SQL injection technique that was in heavy use a few years back. Was hiding the SQL commands inside a binary string,...
February 1, 2011 at 6:59 am
npeters 86796 (1/31/2011)
GSquared (1/31/2011)
What defines an "empty target"?You're giving WAY too little data here to be able to help you on this.
a "NULL" defines an empty target
The way to find...
February 1, 2011 at 6:57 am
Snapshots are copies of the whole thing.
Check data here for details: http://msdn.microsoft.com/en-us/library/ms187054(SQL.90).aspx
January 31, 2011 at 2:13 pm
Select from the parent table, and use an inline sub-query to get the phone numbers, using the For XML trick in that.
select *, (select phone from MyPhones where Person =...
January 31, 2011 at 1:06 pm
GilaMonster (1/31/2011)
WayneS (1/31/2011)
So... what's your favorite data modeling tool?Pencil and paper (or marker and whiteboard).
Ditto
January 31, 2011 at 12:29 pm
The usual way I do this in SSIS is with a For Each Next loop. You can either loop through the contents of a directory, or through the rows...
January 31, 2011 at 11:54 am
Start with:
select *
from sys.syslogins;
That will give you a list of the logins.
If you look that up in Books Online or on MSDN, it will have links to related items, which...
January 31, 2011 at 11:51 am
I just tried this:
DECLARE @XML XML = '<row ID="1" /><row ID="2" />', @Bin VARBINARY(MAX);
SELECT @XML;
SELECT @Bin = CAST(@XML AS VARBINARY(MAX));
SELECT CAST(@Bin AS XML);
From that, I tried this:
CREATE TABLE dbo.DropMe (
ID...
January 31, 2011 at 11:47 am
Viewing 15 posts - 5,161 through 5,175 (of 14,953 total)