Viewing 15 posts - 1,891 through 1,905 (of 6,036 total)
Nevin,
Let's get rid of the nonsense.
Here is a real life NZ number:
Micrisoft New Zealand
09-362 5800
To call it from abroad you need to dial
{you country international access code} 64 9 362...
May 5, 2015 at 10:04 pm
Can only agree with Nevin.
When you apply this operator to a varchar field you force an implicit conversion which may fail if a value cannot be converted to int.
That's where...
May 5, 2015 at 9:02 pm
Nevyn (5/5/2015)
You seem to be trying to argue with me about what my smartphone SHOULD do.
I am telling you what it IS doing, since you told me to check.
No, I'm...
May 5, 2015 at 5:57 pm
you might wish to get familiar with arithmetic operators used in T-SQL:
May 5, 2015 at 4:33 pm
Luis Cazares (5/5/2015)
I agree in your first statements because there should not be a relation between title and gender because they're different attributes of a person (person is the entity,...
May 5, 2015 at 4:30 pm
I'm trying to create a function, not a new table.
- mistake #1
hardcoding data in a routine code - mistake #2
Implementing relations between entities (title and gender) in conditional procedural...
May 4, 2015 at 9:46 pm
CREATE TABLE dbo.GenderTitle (
Title varchar(50) PRIMARY KEY,
Gender varchar(20) not null
)
INSERT INTO dbo.GenderTitle
(Title, Gender)
SELECT 'Mr', 'Male'
UNION
SELECT 'Ms.', 'Female'
UNION
SELECT 'Mrs.', 'Female'
SELECT *, ISNULL(Gender, 'Unknown') Gender
FROM dbo.Person P
LEFT JOIN dbo.GenderTitle GT ON GT.Title...
May 4, 2015 at 8:16 pm
It seems saying "Yes, I see - storing phone number as a single string does not work" is simply too hard for you. 🙂
P.S. What is so outdated in fax...
May 4, 2015 at 4:04 pm
TomThomson (5/1/2015)
No Idiocracy, just people applying the KISS principle, I think.
It only seems simple for someone who never had to deal with real calling systems.
5 developers for almost 2 years...
May 1, 2015 at 11:40 pm
TomThomson (5/1/2015)
separating the fields is useful because it saves the trouble
Exactly.
If you hid the trouble inside of a computer it does not mean it's gone.
May 1, 2015 at 11:26 pm
TomThomson (5/1/2015)
May 1, 2015 at 11:23 pm
Nevyn (5/1/2015)
I don't dispute that the phone identifies it, but it is the calling function that parses it. It is not stored that way.
So, we have 2 options:
1) store...
May 1, 2015 at 4:58 pm
Nevyn (4/28/2015)
But what it stored was a string.
Most of the numbers stored in my phone contain country codes, even for my own home number. Just in case I'll use the...
May 1, 2015 at 9:44 am
TomThomson (4/28/2015)
Is the US banking system still using the old thoroughly insecure renewal/replacement system which I seem to remember from the 1960s and 70s? If it does that would...
April 28, 2015 at 7:31 pm
Nevyn (4/28/2015)
April 28, 2015 at 5:09 pm
Viewing 15 posts - 1,891 through 1,905 (of 6,036 total)