Viewing 15 posts - 4,186 through 4,200 (of 7,597 total)
SELECT REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(
CAST(price AS varchar(20)),
'0', 'A'),
'1', 'B'),
'2', 'C'),
--...
...
August 17, 2016 at 11:05 am
You could. Or you could change the FK rules to "CASCADE" rather than "NO ACTION" -- at least temporarily -- then just try updating the id from 1 to...
August 17, 2016 at 10:54 am
I prefer to name procedures first by topic area as well. I was merely pointing out that it's more common to use verb_object.
Personally I despise a prefix that represents...
August 17, 2016 at 9:52 am
Jeff Moden (8/17/2016)
ScottPletcher (8/17/2016)
Jeff Moden (8/16/2016)
ScottPletcher (8/16/2016)
Jeff Moden (8/16/2016)
ScottPletcher (8/16/2016)
August 17, 2016 at 9:37 am
Probably most common is verb_object, such as Get_UserName, or some such. I've never seen the "main" table name used as part of the proc name, and it seems like...
August 17, 2016 at 8:53 am
Jeff Moden (8/16/2016)
ScottPletcher (8/16/2016)
Jeff Moden (8/16/2016)
ScottPletcher (8/16/2016)
August 17, 2016 at 8:22 am
Jeff Moden (8/16/2016)
ScottPletcher (8/16/2016)
August 16, 2016 at 12:27 pm
Grant Fritchey (8/16/2016)
MyDoggieJessie (8/16/2016)
August 16, 2016 at 11:32 am
Even so, it's likely that for in-house audits, or less formal audits, the current table could be freely accessed, and then INSERTs might not need logged. But verify that...
August 16, 2016 at 10:10 am
Ed Wagner (8/16/2016)
ScottPletcher (8/16/2016)
Ed Wagner (8/16/2016)
ScottPletcher (8/16/2016)
Jeff Moden (8/15/2016)
ScottPletcher (8/15/2016)
Jeff Moden (8/15/2016)
ScottPletcher (8/15/2016)
Jeff Moden (8/15/2016)
August 16, 2016 at 10:05 am
Ed Wagner (8/16/2016)
ScottPletcher (8/16/2016)
Jeff Moden (8/15/2016)
ScottPletcher (8/15/2016)
Jeff Moden (8/15/2016)
ScottPletcher (8/15/2016)
Jeff Moden (8/15/2016)
August 16, 2016 at 9:34 am
Jeff Moden (8/15/2016)
ScottPletcher (8/15/2016)
Jeff Moden (8/15/2016)
ScottPletcher (8/15/2016)
Jeff Moden (8/15/2016)
August 16, 2016 at 8:23 am
Jeff Moden (8/15/2016)
ScottPletcher (8/15/2016)
Jeff Moden (8/15/2016)
August 15, 2016 at 3:53 pm
DECLARE @user-id nchar(10)
SET @user-id = '001'
SELECT @user-id AS UserID, p.*, 'Prods This User Hasn''t Purchased' AS Message
FROM Prod_T p
LEFT OUTER JOIN User_Prod_T up ON up.UserID = @user-id AND up.ProdID =...
August 15, 2016 at 1:35 pm
Jeff Moden (8/15/2016)
August 15, 2016 at 10:26 am
Viewing 15 posts - 4,186 through 4,200 (of 7,597 total)