Viewing 15 posts - 3,031 through 3,045 (of 8,731 total)
This is one approach (assuming you posted on the correct forum).
WITH CTE AS(
SELECT
ProductID,
...
April 14, 2016 at 1:59 pm
If you're trying to format a textbox, use the format property with the following value.
MMMM dd, yyyy
If you're trying to format a parameter, just don't. Use the date/time type.
April 14, 2016 at 1:45 pm
SQLPain (4/14/2016)
SELECT DISTINCT
ISNULL(Other, 0) AS Other
FROM Chain AS C
LEFT JOIN (SELECT
Count(ad.AppID) as Other,
C.DealerID
...
April 14, 2016 at 1:36 pm
Like this?
=DateAdd("d",-Day(Today()), Today())
April 14, 2016 at 1:25 pm
Ed Wagner (4/14/2016)
Luis Cazares (4/14/2016)
Ed Wagner (4/14/2016)
SQLRNNR (4/14/2016)
Luis Cazares (4/14/2016)
How is it possible that he can't work out a basic DML statement and still have a...
April 14, 2016 at 1:01 pm
Phil Parkin (4/14/2016)
Steve Jones - SSC Editor (4/14/2016)
Maybe some of you should write some questions to help people learn...
April 14, 2016 at 12:51 pm
Ed Wagner (4/14/2016)
SQLRNNR (4/14/2016)
Luis Cazares (4/14/2016)
Is this guy for real?How is it possible that he can't work out a basic DML statement and still have a job?
Hopefully Hugo has him...
April 14, 2016 at 11:40 am
A different option.
SELECT YourDate,
CASE WHEN MONTH(YourDate) <> MONTH(DATEADD(day, 1, YourDate)) THEN 'True' ELSE 'False' END,
CASE WHEN YourDate = DATEADD( MM, DATEDIFF( MM,...
April 14, 2016 at 11:33 am
Hugo Kornelis (4/14/2016)
CASE WHEN MONTH(YourDate) <> MONTH(DATEADD(day, 1, YourDate)) THEN 'True' ELSE 'False' END
Fixed That For You
April 14, 2016 at 11:23 am
I feel that many of these standards to certify processes are simply created to make money.
April 14, 2016 at 10:24 am
drew.allen (4/14/2016)
April 14, 2016 at 10:09 am
Is this guy for real?
How is it possible that he can't work out a basic DML statement and still have a job?
April 14, 2016 at 10:07 am
I honestly don't know why it does that.
I know however, that you can change the format file and set the column as SQLCHAR (leaving your table intact) and let it...
April 14, 2016 at 9:52 am
INSERT INTO goes before the whole statement, not before the SELECT from the derived table.
April 14, 2016 at 8:58 am
Do you mean like using INSERT INTO YourTable SELECT ....?
April 14, 2016 at 8:38 am
Viewing 15 posts - 3,031 through 3,045 (of 8,731 total)