Viewing 15 posts - 20,656 through 20,670 (of 22,196 total)
If "most" of your queries require DISTINCT or GROUP BY to eliminate duplicates then, in general terms, you're writing your queries incorrectly or the data design is wrong. While there...
April 11, 2008 at 6:16 am
I have to agree. 2 is fine. 1 & 3 are silly limitations. If you're going with pure natural keys, maybe then you never use identity, but if you're just...
April 11, 2008 at 5:50 am
Instead of using the sub-query as part of the select list, make it a derived table, join against it, and you'll get a row for each value in that table.
April 11, 2008 at 5:42 am
We're using them all over the place. It allows us to set up different security management processes within the same database and maintain them very easily since you can grant...
April 11, 2008 at 5:39 am
No, nobody should beat you up. "It depends" is always the right answer. The factors involved really do make a difference. If the system in question is meant to gather...
April 10, 2008 at 8:31 am
Everyone else has already said it, but I can expand a bit. XML is the answer. You want to look at ALL your database processes from the approach of working...
April 10, 2008 at 8:01 am
DonaldW (4/10/2008)
Grant Fritchey (4/9/2008)
What's the difference between a clustered & non-clustered index?
What's the difference between blocking & deadlocking?
How do you trap errors in SQL Server 2005?
What does...
April 10, 2008 at 6:13 am
Our entire enterprise is running on TCP/IP connections (I suspect most are these days). If you can connect to your SQL Server instance and run 'SELECT * FROM SomeTable', then...
April 10, 2008 at 6:06 am
It's possible that it could be as problematic as anything else, but you might try dropping & recreating the index. That will also remove fragmentation. The Storage Engine team at...
April 10, 2008 at 5:57 am
Sounds like heaven. We're trying to convince our bosses to let us telecommute regularly (we're able to do it now on snow days or when the cable company is coming...
April 10, 2008 at 5:48 am
Mahesh Bote (4/9/2008)
[font="Verdana"]Grant Fritchey (4/9/2008)
You call out of TSQL to WMI process to launch a .NET app... right?Gant, I am not getting you?
Mahesh[/font]
Sorry, it was joke. Jeff asked how to...
April 10, 2008 at 5:40 am
We've found the fastest way is to export from one database out to an SSIS RAW file and then back into the next database in the next server. Storing the...
April 9, 2008 at 2:40 pm
Because we use DBPro (aka DataDude) I do a lot of TSQL programming in Visual Studio. It's not terribly good, but the integration with TFS & DBPro makes it necessary.
April 9, 2008 at 2:34 pm
You will have to pass them in for a SQL guide.
Here's an example:
EXEC sp_create_plan_guide @name = N'APlanGuide',
@stmt = N'SELECT * FROM [Person].[Address] WHERE [City] = @0',...
April 9, 2008 at 9:00 am
You call out of TSQL to WMI process to launch a .NET app... right?
April 9, 2008 at 7:29 am
Viewing 15 posts - 20,656 through 20,670 (of 22,196 total)