Viewing 15 posts - 21,046 through 21,060 (of 22,219 total)
If you use the IF EXISTS clause, it will only fire the code within the BEGIN...END when it finds the existance of a row in the SELECT statement. I'm pretty...
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
February 18, 2008 at 1:27 pm
Actually that's only going to delete individual rows. The EXISTS followed by a full DELETE with no WHERE clause is probably what he's looking for.
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
February 18, 2008 at 1:12 pm
Do you mean you need to delete all records where the value = 'Checked' or if any value = 'Checked' you're going to delete all values?
If the former, simply make...
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
February 18, 2008 at 12:20 pm
In general terms, it doesn't sound bad, but it all comes down to the code, the indexes and the code, and if I didn't mention it, the code. How you...
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
February 18, 2008 at 6:44 am
Yeah, what he says.
I know you're just learning this stuff. When you get an error, look it up in the Books Online. It'll mostly tell you what's going on. In...
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
February 15, 2008 at 8:06 am
Hopefully this won't kick up too much mud.
I agree with some of what Steve Schmechel is advocating (if not necessarily his approach in advocating it). In working with our...
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
February 15, 2008 at 6:50 am
The thing to remember is that logically, they are different operations. They occur at different points in the query processing and will affect data in different ways. The JOIN criteria...
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
February 14, 2008 at 7:15 am
Nice article. You do a good job of outlining the issues that come up on the database side of things when doing Agile development.
The one thing I'd add is that...
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
February 14, 2008 at 7:07 am
shwetha004 (2/13/2008)
i tried using the select into statement.however, i cant see how i can actually merge two columns from two tables into one.
maybe i shud explain further.
Table1 has (userid,username,password,email,status)
Table2...
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
February 14, 2008 at 6:57 am
Yeah, 3 votes & one quasi-intelligent post aren't exactly encouraging. Still, you got a response. I posted on Services Center Operations Manager (SCOM) and got zip. Either no one is...
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
February 14, 2008 at 6:51 am
I've used both. In terms of messaging, there's no real difference between them. Blackberries are a bit more sophisticated in terms of actually chatting to other human beings, but when...
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
February 13, 2008 at 9:50 am
Jeff,
Doesn't the fact that floats are imprecise estimates represent a pretty major possible problem in using them in financial calculations? At least that's what I've always been told. I mean...
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
February 13, 2008 at 9:45 am
If you can't purchase tools, here's another option.
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
February 13, 2008 at 8:34 am
Definitely a backup and a restore is the much easier route. All the data, all the structure, all the statistics, just as they are in production. Done.
However, you can create...
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
February 13, 2008 at 6:01 am
There's this company, called Microsoft. Searching their web site can find all sorts of stuff.
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
February 13, 2008 at 5:45 am
Viewing 15 posts - 21,046 through 21,060 (of 22,219 total)