Viewing 15 posts - 2,761 through 2,775 (of 14,953 total)
For snapshot replication, the usual answer is to empty the tables before inserting new data into them. That's kind of the point of snapshot replication.
When I need to create...
November 23, 2011 at 8:02 am
Merge was introduced in SQL 2008. In prior versions of SQL Server, you have to build your own set of update, insert, delete statements. Used to be called...
November 23, 2011 at 7:59 am
It depends on the SATA generation, the SCSI version, how many I/O channels (drives, etc.) on each, the bus each is connected to on the motherboard, the buffer and I/O...
November 23, 2011 at 7:57 am
I'm not sure what you mean.
Are you trying to inventory all the servers on your network?
November 23, 2011 at 7:54 am
The reason I did the query with an inline sub-query instead of a defined UDF is because there's a performance cost to using a UDF just because it's an external...
November 23, 2011 at 7:53 am
I dug through my scripts library, and found this for age calculation:
-- Age Calculation (most accurate known version; does NOT take into account Leapling laws)
ISNULL(CAST((CAST(CONVERT(VARCHAR(25), GETDATE(),...
November 23, 2011 at 7:51 am
Use "Where Not Exists (select * from table where column is null)" as part of your where clause in your delete statement. That should give you what you need....
November 23, 2011 at 7:07 am
The question of hard vs soft deletes is a business decision, not a technical one.
How to implement either one is a technical question.
Is that what you're asking about?
November 23, 2011 at 6:27 am
I am definitely easy to work with, and anyone who disagrees will be shot! 😀
November 23, 2011 at 6:23 am
p-nut (11/22/2011)
GSquared (11/22/2011)
November 23, 2011 at 6:20 am
The simple way to look for that kind of patterns in rows is to join a table to itself with the rules you want it to follow.
For example:
SELECT DISTINCT
...
November 22, 2011 at 1:35 pm
Glad I was able to help at least that much.
The XQuery documentation sucks. I've had to learn far to much of it by just poking around and trying things...
November 22, 2011 at 11:34 am
Stefan Krzywicki (11/22/2011)
GSquared (11/22/2011)
Jack Corbett (11/22/2011)
November 22, 2011 at 9:51 am
I'm not clear on what you mean by selecting from files. Do you mean tables? Or are you trying to extract data from Excel or text files or...
November 22, 2011 at 9:37 am
Jack Corbett (11/22/2011)
November 22, 2011 at 8:45 am
Viewing 15 posts - 2,761 through 2,775 (of 14,953 total)