Viewing 15 posts - 2,896 through 2,910 (of 8,731 total)
Raghavendra Mudugal (5/4/2016)
(EP)Z!!!No need of STUFF. (very old code)
No need for cursors, or several statements.
WITH CTE AS(
select distinct personid from @t
)
SELECT PersonID,
phone...
May 4, 2016 at 1:01 pm
edwardwill (5/4/2016)
I'd no more ask this person to administer my database than I'd ask Donald Trump to run my country.
What about asking Donald Trump to administer your database? https://twitter.com/trumpdba
If you...
May 4, 2016 at 9:51 am
I forgot to include the http in the link address, I've corrected it now.
May 4, 2016 at 8:45 am
I had a good experience using AirBnB when I had to look a place before finding an apartment.
My mom rents a bedroom and she recently traveled through Europe using AirBnB.
I...
May 4, 2016 at 8:31 am
You could ask directly to Ken Van Hyning, who is the SQL Client Tools Engineering Manager at Microsoft.
P.S. We're everywhere and we see it all. 😀
May 4, 2016 at 7:41 am
shivang.rdesai (5/3/2016)
What syntax error?I ran the query and it executes !
You have an inconsistent number of parenthesis (difference between opening and closing).
You're using Sales instead of FactSales (or the other...
May 4, 2016 at 6:51 am
And what's the problem?
That's what you asked for.
May 3, 2016 at 6:16 pm
Ray K (5/3/2016)
Eirikur Eiriksson (5/3/2016)
Alan.B (5/3/2016)
Eirikur Eiriksson (5/3/2016)
Alan.B (5/3/2016)
It all comes down to self-awareness and communication. Knowing...
May 3, 2016 at 2:09 pm
Like this?
SELECT CASE WHEN RIGHT(CONVERT(char(8), GETDATE(), 112), 4) < '0901'
THEN YEAR(GETDATE()) - 1
...
May 3, 2016 at 1:42 pm
Ray K (5/3/2016)
Revenant (5/3/2016)
Ed Wagner (5/3/2016)
Manic Star (5/3/2016)
Ed Wagner (5/3/2016)
Eric M Russell (5/3/2016)
Ed Wagner (5/3/2016)
Eric M Russell (5/3/2016)
Ed Wagner (5/3/2016)
ThomasRushton (5/3/2016)
mjagadeeswari (5/3/2016)
Ray K (5/2/2016)
Ed Wagner (5/2/2016)
DonlSimpson (5/2/2016)
IOSUnix
Linux
OS
Two
Fish
Red Fish Blue Fish
Thing...
May 3, 2016 at 1:04 pm
Lowell beat me to the suggestion.
CREATE PROCEDURE Choose_Weekly_SP
AS
IF( SELECT DATEDIFF(wk, date_created, GETDATE()) % 2
FROM msdb.dbo.sysjobs
WHERE name = 'YourJob'
)...
May 3, 2016 at 12:21 pm
Ed Wagner (5/3/2016)
Lynn Pettis (5/3/2016)
Lynn Pettis (5/3/2016)
Some people should not be allowed any where near a database server.+1000
I guess I'll agree with your agreement with yourself. 😛
Is this about the...
May 3, 2016 at 10:29 am
Lynn Pettis (5/3/2016)
Some people should not be allowed any where near a database server.
But, but...that's my job. :hehe:
May 3, 2016 at 10:23 am
Please, read these articles and come back.
http://www.sqlservercentral.com/articles/SQLServerCentral/66909/
http://www.sqlservercentral.com/articles/Best+Practices/61537/
May 3, 2016 at 10:18 am
Viewing 15 posts - 2,896 through 2,910 (of 8,731 total)