Viewing 15 posts - 3,781 through 3,795 (of 8,416 total)
Already answered on your other thread:
http://www.sqlservercentral.com/Forums/Topic906477-391-1.aspx
April 20, 2010 at 12:15 am
DECLARE @People
TABLE (
person_id INTEGER PRIMARY KEY,
data ...
April 20, 2010 at 12:13 am
CirquedeSQLeil (4/19/2010)
...but that is not true of an identity column, unless the identity column is a part of a Primary key.
Or a UNIQUE constraint, as the QotD explanation says 😉
April 20, 2010 at 12:00 am
While we are mentioning alternatives, not everyone knows about the useful tablediff utility shipped with SQL Server:
April 19, 2010 at 11:59 pm
mister.magoo (4/19/2010)
It's a good point - I was assuming the tests for an active transaction had been removed for brevity, not on purpose...
And you were probably right! Just making...
April 19, 2010 at 11:53 pm
The following code shows how to use the procedure return code to identify the error number:
USE tempdb;
GO
CREATE PROCEDURE dbo.SP1
AS
BEGIN
SET ...
April 19, 2010 at 11:49 pm
It is more efficient to adjust the data type after the aggregate:
DECLARE @Example
TABLE (
month_id ...
April 19, 2010 at 11:14 pm
Have you considered using an SSIS package?
April 19, 2010 at 10:59 pm
Huge subject. Please take a look at this:
http://www.sqlservercentral.com/articles/books/65831/
...note the free eBook download. The author is a regular here on SSC.
April 19, 2010 at 10:56 pm
anthony_merriwether (4/19/2010)
April 19, 2010 at 10:51 pm
Matt Miller (#4) (4/19/2010)
3rd party. Built-in means SQL knows how to decrypt it, so it ain't much of an encryption.
Not sure what you mean here, Matt. Are you...
April 19, 2010 at 10:41 pm
Given the number of inconsistencies and bugs, I'd be quite happy to see @@IDENTITY and SCOPE_IDENTITY removed from the product. I very much prefer the OUTPUT clause for this...
April 19, 2010 at 10:20 pm
First correct answer! Yay for me 😉
I liked this question - especially the first part about IDENTITY allowing duplicates, which I am sure will surprise many people.
I am less...
April 19, 2010 at 8:19 pm
mike 57299 (4/19/2010)
What would you recommend for storing credit card information? Using 2008 encryption or a 3rd party?
Either, so long as it meets the requirements. If you are...
April 19, 2010 at 7:11 pm
Viewing 15 posts - 3,781 through 3,795 (of 8,416 total)