Viewing 15 posts - 21,031 through 21,045 (of 22,184 total)
Cycle the error log:
EXEC sp_cycle_errorlog;
February 12, 2008 at 12:47 pm
It's not like date fields where there are a lot of special functions. We just use decimal.
February 12, 2008 at 10:37 am
It depends (I love that answer). To me, this is a business definition. Strictly looking at data, as data, no, none of these columns help to define the Address object....
February 12, 2008 at 5:30 am
Absolutely true.
You also might want to look at having simply an Address table with a join table to associate addresses to contacts. That way when you get a married couple...
February 11, 2008 at 10:17 am
The first four of those columns you're talking about are there for auditing purposes and shouldn't have anything to do with relational integrity. The last column, the guid, I'm assuming...
February 11, 2008 at 9:36 am
Since you're not, in any way relating the data between these tables, an odd thing, you could do something like this:
SELECT 'TableA' AS TableName
,Cola AS FirstColumn
FROM dbo.TableA
UNION ALL
SELECT 'TableB' AS...
February 11, 2008 at 9:32 am
If you have to use dynamic sql, be sure to look up & understand sp_executesql as the preferred method of calling it rather than using exec 'somestring'
February 11, 2008 at 8:36 am
I'd have to go all the way to "stupid practices." If I was feeling kind, I might call it "ignorant practices." If I wasn't feeling kind, it'd be "f'ing stupid...
February 11, 2008 at 8:26 am
I find that I'm with the you need both an artificial key and a natural key camp. Usually, but not always, the artificial key is an identity. However, I also...
February 11, 2008 at 7:07 am
tymberwyld (2/10/2008)
Grant Fritchey (2/7/2008)
February 11, 2008 at 6:25 am
Internal to SQL Server, they peform almost identically. The main difference is that OPENXML has to instantiate an XML parser that chews up a ton of memory outside of SQL...
February 11, 2008 at 6:06 am
In my opinion, this would not be a primary counter for checking performance. I'd use it once I've already identified range scans as an issue because of excessive waits or...
February 8, 2008 at 8:42 am
Are you looking for an Islands and Gaps solution?
This is from Itzik Ben-Gan's Inside TSQL Querying and identifies missing values
SELECT cur+1 AS start_range, nxt-1 AS end_range
FROM (SELECT col1 AS cur,
...
February 8, 2008 at 6:03 am
My XQuery knowledge is unfortunately new and grossly incomplete, but from what I do know, I don't think it's possible. XPath queries are a way of navigating the XML to...
February 8, 2008 at 5:55 am
1. Logical reads are all reads, physical from the disc as well as from memory. To determine physical reads as seperate from cache reads, you need to get performance monitor...
February 8, 2008 at 5:39 am
Viewing 15 posts - 21,031 through 21,045 (of 22,184 total)