Viewing 15 posts - 2,221 through 2,235 (of 8,731 total)
Here are 2 options identical in execution. One uses a derived table and the other one uses a CTE.
UPDATE T
SET SALE = S.Sale,
Exp = S.EXP
FROM Sale...
August 29, 2016 at 9:42 am
If it's a bigint or similar, then a simple math operation will work.
DECLARE @Table TABLE( Somenumber bigint);
INSERT INTO @Table
SELECT 1000000017777 UNION ALL
SELECT 1000000017342;
SELECT *, Somenumber % 1000000000000
FROM @Table;
August 29, 2016 at 6:59 am
Brandie Tarvin (8/29/2016)
August 29, 2016 at 6:46 am
SQLRNNR (8/26/2016)
WayneS (8/26/2016)
Grant Fritchey (8/25/2016)
Lynn Pettis (8/25/2016)
Got to the following from a LinkedIn email. Not sure about a few of the answers.https://intellipaat.com/interview-question/sql-interview-questions/
I posted a comment. I couldn't help it.
As...
August 26, 2016 at 11:11 am
What do you mean by this?
shezi (8/26/2016)
August 26, 2016 at 9:37 am
WayneS (8/26/2016)
Grant Fritchey (8/25/2016)
Lynn Pettis (8/25/2016)
Got to the following from a LinkedIn email. Not sure about a few of the answers.https://intellipaat.com/interview-question/sql-interview-questions/
I posted a comment. I couldn't help it.
As did...
August 26, 2016 at 9:30 am
Beatrix Kiddo (8/26/2016)
would like to hear your Chinese restaurant recommendations ...
Go to Canal street. Face east. Turn right on Mott. Go down a block. Turn right. Thai restaurant on your...
August 26, 2016 at 8:58 am
The problem with the proposed xml solutions, is that the sample data is not xml. It has to be formatted to be xml and that would be more work.
That's if...
August 26, 2016 at 8:08 am
You seem to have asked this question (or a version of it) several times.
You should be able to create a dynamic pivot for yourself now, unless you don't understand the...
August 26, 2016 at 7:40 am
jdbrown239 (8/26/2016)
Thanks for the help guys. Check out this blog which gave me what i needed.http://blogs.lessthandot.com/index.php/datamgmt/datadesign/how-to-get-information-about-all-databas/
Read the article that I mentioned before, here's an extract to show why it's important:
...
August 26, 2016 at 7:24 am
Jeff Moden (8/25/2016)
P.S. You should also avoid the use of any of the "MONEY" datatypes and small scale DECIMAL types for any work with any operators other than simple...
August 26, 2016 at 7:14 am
You have the wrong characters in your REPLACE function. Use the correct ones and you should get it done.
August 26, 2016 at 7:11 am
djj (8/26/2016)
Ed Wagner (8/26/2016)
Stuart Davies (8/26/2016)
Alan.B (8/25/2016)
djj (8/25/2016)
Ed Wagner (8/25/2016)
Y.B. (8/25/2016)
ZZartin (8/25/2016)
Ray K (8/25/2016)
crookj (8/25/2016)
Ed Wagner (8/25/2016)
Alan.B (8/25/2016)
BWFC (8/25/2016)
Prefectday
Night
Stalker
Talker
Dead
Walking
Running
Jogging
blogging
vlogging
Flogging
Flagellation
Fragmentation
August 26, 2016 at 7:07 am
The Dixie Flatline (8/25/2016)
They must be proud of their site. It helps unqualified people get jobs they can't handle.
Can you believe they also charge for their courses?
I...
August 25, 2016 at 2:29 pm
Maybe this could help:
if object_id('tempdb..#t') is not null DROP TABLE #t;
create table #t( str varchar(4000) );
insert into #t(str) values ( '<DataReference>ABCGT ' );
insert into #t(str) values ( '<DataReference>UITR <DataReference>ACDE <DataReference>ERR...
August 25, 2016 at 2:27 pm
Viewing 15 posts - 2,221 through 2,235 (of 8,731 total)