Viewing 15 posts - 511 through 525 (of 1,315 total)
I certainly wouldn't recommend creating additional copies of things like zip code lookup tables for each database, but these can be handled by putting them in a common database. If...
April 19, 2007 at 9:24 am
If you absolutely must, you can use the sp_OACreate procedure to instantiate a RegEx object in a T-SQL stored procedure. You can then access its properties and methods with other...
April 19, 2007 at 8:15 am
I would also vote for many databases vs. one big single-point-of-failure database. Yes there is extra maintenance to deal with multiple databases, but with some effort you should be able...
April 19, 2007 at 6:49 am
You will have fewer security issues if you create this as a SSIS package running on your desktop, rather than insisting on doing it in a stored procedure. A package...
April 16, 2007 at 9:37 am
You don't say what attributes you want to store in the table that would require duplicate records and cause a primary key violation. You are already aware that you can't just...
April 16, 2007 at 9:22 am
You can't just say you're going to apply the latest hotfix, if the exact same hotfix comes in two different versions based on build number. Your answer was the only correct answer...
April 13, 2007 at 7:29 pm
That most certainly does invalidate the answer. Hotfixes are now versioned. How would you define "You only apply the latest hotfix that you want to apply" except by adding that...
April 13, 2007 at 7:54 am
Teradata servers A and B may not be able to talk to each other, so you may have to do it through a SQL Server intermediary.
You can use INSERT INTO...
April 12, 2007 at 9:16 am
I believe when you say dataset you mean "suck all the data down to the client and convert it to XML", so the extra delay could be client-side processing. If...
April 12, 2007 at 9:03 am
How about a scheduled job on each server that fills a local table once a day with the file sizes, then your aggregation server can just query those tables?
Another alternative...
April 12, 2007 at 8:04 am
If there's any chance the user is in other databases you could check them all:
EXEC
master.dbo.sp_MSforeachdb REPLACE
April 12, 2007 at 7:56 am
One issue Clifford skipped was that heap tables cannot be reorganized except by truncating and reloading them. Tables with clustered indexes can be optimized by using DBCC DBREINDEX or DBCC...
April 12, 2007 at 7:18 am
Yes, you could use a case function. Something like:
SELECT a.empid, a.empname
FROM tbl1 a, tbl2 b
WHERE CASE WHEN yearofjoining = '2006' and a.deptno = b.deptno then 1
WHEN yearofjoining <>...
April 10, 2007 at 7:41 am
The developer may not know it, but SQL Server can do a pretty good job of generating XML from a table all by itself. I don't know what the "sent...
April 9, 2007 at 9:30 pm
Maybe you could try using "INIT SKIP" on your first backup of the day, which should tell it to skip checking the expiration date on the existing backup and force...
April 9, 2007 at 8:54 pm
Viewing 15 posts - 511 through 525 (of 1,315 total)