Viewing 15 posts - 31 through 45 (of 73 total)
If the Dr. was important (I think we can draw that inference) MS will have had him sign an NDA, plus a long notice clause, plus a non-compete clause. If...
August 10, 2005 at 4:13 am
A lot of people don't like the stress of changing jobs and possibly moving house to boot. These are often depicted as lifers and as such they can be abandoned...
July 27, 2005 at 7:34 am
This kind of t-sql will work if the string is always this well formed. But will probably need extending using regexp if there are apostrophes in names.
declare @Name varchar(50)
declare @newName...
March 14, 2005 at 9:15 am
One thing you could do is return the output from SQL as XML, then the XML returned to the document can be read and any 'friendly' error messages placed in...
March 14, 2005 at 9:04 am
In simple terms SQL can't find the log file. This is because the machine that did the sp_detach_db has a different internal physical file system, and the mdf contains a...
March 14, 2005 at 5:18 am
Transferring the data can be straightforward. I usually find that transferring it to working tables in exactly the same format as the access tables and then using t-sql to...
August 20, 2003 at 2:43 am
Well either knowing the answer or finding it out through a source that is always available are valid ways of answering QOD.
I just think that it would be better if...
July 24, 2003 at 2:49 am
No
But I tried to do a select count(*) and select * against a big and a little table and in both cases the execution plan used an 'index scan' to...
July 21, 2003 at 9:32 am
I don't think there are any problems with @@rowcount, but I would consider using min/max to get the row you want rather than top.
July 8, 2003 at 4:25 am
Brevity is good, how do you pronounce your name 5409045121009? Do you put the stress the second 4?
You could use a trigger on the table that writes to an...
July 8, 2003 at 3:37 am
You are cross posting - the site owners get cross about that kind of thang.
This is one way to create break totals and running totals without cursors or temp tables.
July 8, 2003 at 3:24 am
Here is a technique to calculate break totals (sum of a group) and running totals (sum of all groups to date. Perhaps you could see a different way to...
July 8, 2003 at 3:15 am
It must be true because that's what it says.
Apologies in advance because I must be being dumb, but can't you just remove 'StoredProc2' as it is only getting the output...
June 26, 2003 at 3:15 am
There are 3 'for xml' (explicit, raw and auto) options. The simplest of which if auto.
A simple example would be
create procedure usp_forxml
(@SupplierID int)
as
SELECT [ProductID], [ProductName], [SupplierID] FROM [Northwind].[dbo].[Products]...
June 26, 2003 at 3:04 am
If you are building up a sql string to execute repeated use of 'print' is your best way of debugging (but print commands should be removed before using the proc...
June 16, 2003 at 4:24 am
Viewing 15 posts - 31 through 45 (of 73 total)