Viewing 15 posts - 16 through 30 (of 64 total)
My understanding of how public/private keys work is a little different. The sender uses the public key to encrypt and send the data to the receiver. The receiver uses the...
August 10, 2005 at 3:06 pm
If Douglas hadn't caught it, I would have mentioned your public/private error. In your image, (Figure 4) you have "Marian Rejewski beings work...1932" That would be "...begins work..."
August 10, 2005 at 2:47 pm
As you pointed out, I don't see any advantage to a DistanceFrom "operator" over creating it as a UDF.
August 3, 2005 at 1:27 pm
And how do these fit in to that one purpose?:
public int PhysicalStock
public int SystemStock
public int Difference
The one purpose is the storage of stock information. Those are attributes of the dataType.
August 2, 2005 at 5:00 pm
I take it, these two commands should work:
UPDATE Items
SET InStock = CAST( InStock.PhysicalStock AS VARCHAR) + '|' + CAST( InStock.SystemStock*.9 AS VARCHAR)
WHERE InStock.PhysicalStock < InStock.SystemStock
UPDATE Items
SET InStock = CAST( InStock.SystemStock*.9...
August 2, 2005 at 4:25 pm
FYI, your article has a bug:
//Returns the difference between physical and system stock. This is a read-only property
public int Difference { get { return _physicalStock -...
August 2, 2005 at 3:38 pm
Speaking of middle tier, ADO.NET's SqlDataAdapter's wizard INSERT statement by default retrieves @@IDENTITY. (At least with my version.) That makes sense, because it's disconnected with the version of SQL Server...
August 2, 2005 at 1:01 pm
Basically I wanted a procedure that would return a GUID when all the other fields in the table were matched because all the other fields should define a natural key.
If...
August 2, 2005 at 12:00 am
Wrong Answer #1 - Select max(contactid) from Test.
There are more reasons than the ones mentioned that this is the wrong answer. This assumes that the identity field is going in...
August 1, 2005 at 3:21 pm
Steve, you really should check out those plagurist sites someone else mentioned. Plagurism is a huge problem in school. They have web tools that allow you to submit an article written by a...
July 27, 2005 at 11:49 am
As far as free shipping at Amazon, I got that months ago after reading an article review of Ken's newest book on sqlservercentral. At the same time, I ordered the...
July 27, 2005 at 11:41 am
"It just seems more logical and easier to follow." You do know that some people oppose this kind of idea, just for this reason. If it's not logical and it's...
July 22, 2005 at 8:16 pm
Jeffery Williams talked about naming conventions for the primary key. First and foremost, your company should set up a standard for naming conventions. If that standard said the primary key...
July 22, 2005 at 12:29 pm
There's a lot of quotes in this script. Using pubs as a DB, the 900 character @sql will look like:
use [pubs]
set NOCOUNT ON
declare @sql nvarchar(500)
create...
July 19, 2005 at 7:04 pm
This is my third iteration on this idea. Produces 1 result set, documents the DB and table so this could be used on several DBs to produce a joined list:
declare...
July 19, 2005 at 6:22 pm
Viewing 15 posts - 16 through 30 (of 64 total)