Viewing 15 posts - 2,266 through 2,280 (of 8,731 total)
Gail, you just made my day with this answer. http://www.sqlservercentral.com/Forums/FindPost1811748.aspx
I can't stop laughing. π
August 23, 2016 at 12:28 pm
Ed Wagner (8/23/2016)
Y.B. (8/23/2016)
Grumpy DBA (8/23/2016)
Ed Wagner (8/23/2016)
Kaye Cahs (8/23/2016)
Revenant (8/22/2016)
whereisSQL? (8/22/2016)
AntacidTums
Chalk
Blackboard
Blackbeard
Pirate
Caribbean
Royal
August 23, 2016 at 8:59 am
If you ask me, the adequate option for this is to use EXCEPT. I have to change the name of a column due to the internet filter configuration in my...
August 22, 2016 at 1:36 pm
My post is marked as an answer. But I still would like some feedback to make sure that you understand how and why the code was simplified.
Also that you understand...
August 22, 2016 at 12:23 pm
In that case, you don't need your CASE statement, the LEFT function alone will work fine. π
August 22, 2016 at 11:17 am
You're probably looking for something like this:
ALTER PROC [dbo].[SupplierStats]
@a nvarchar(50),
@b-2 nvarchar(50)
AS
SET NOCOUNT ON;
INSERT INTO dbo.wanado(
ContactName,
CompanyName)
SELECT CompanyName,
ContactName
FROM Suppliers
WHERE ContactName LIKE @a + '%'
OR ContactName...
August 22, 2016 at 11:04 am
That won't return what you asked.
To be sure about the correct formula:
- Will the strings always start with a slash(/)?
- What should be returned if there's only one?
-...
August 22, 2016 at 10:09 am
Ed Wagner (8/22/2016)
TomThomson (8/20/2016)
SQLBill (8/19/2016)
Manic Star (8/19/2016)
Kaye Cahs (8/19/2016)
Hugo Kornelis (8/19/2016)
Ed Wagner (8/19/2016)
Luis Cazares (8/19/2016)
Ed Wagner (8/19/2016)
ChainsawMassacre
Texas
Dallas
Cowboy
Cheerleader
Debby
Ryan
Jack
Coke
August 22, 2016 at 8:52 am
Jeff Moden (8/22/2016)
RonKyle (8/19/2016)
Also, use numeric data types when appropriate (FYI, telephones and zip codes are not numeric data).
Social Security numbers are also not numeric. Once had a...
August 22, 2016 at 8:49 am
Sean Lange (8/19/2016)
Ed Wagner (8/19/2016)
Sean Lange (8/19/2016)
Ed Wagner (8/19/2016)
RBarryYoung (8/19/2016)
Jeff Moden (8/19/2016)
Heh... Cross out the "S" and the "E" and it makes a word that comes from the same animal...
August 19, 2016 at 1:56 pm
You're missing the second parameter and closing parenthesis to either ROUND or ISNULL.
August 19, 2016 at 12:28 pm
joshua 15769 (8/18/2016)
Can you tell us a little about your database? Is it something you are in the process of constructing or is it something you have inherited? What is...
August 19, 2016 at 8:25 am
kawi6rr (8/18/2016)
You...
August 18, 2016 at 1:47 pm
Ed Wagner (8/18/2016)
Ray K (8/18/2016)
ThomasRushton (8/18/2016)
subhoagie
Steak
Shake
August 18, 2016 at 10:34 am
Viewing 15 posts - 2,266 through 2,280 (of 8,731 total)