Viewing 15 posts - 7,561 through 7,575 (of 13,876 total)
Or this?
-- Populate the AssetAddress Table with the relevant data
IF @Address IS NOT NULL
INSERT INTO AssetAddress ( AssetId, AddressId, EffectiveFromDate )
VALUES ...
February 10, 2016 at 6:50 am
ankithimmatlalshah (2/9/2016)
I’m working on one of the existing Extract package.
Our customer would like to move the complete extract logic, implemented in this package to SQL stored procedure(s) as they...
February 10, 2016 at 6:46 am
patla4u (2/10/2016)
I have total 460 million row in the table. I am running query for year 2016 and month = 7 and we have total 8 millions records. query...
February 10, 2016 at 6:40 am
VastSQL (2/10/2016)
We have a powershell which we need to run from one of our SQL Servers. The script checks for a particular service in 4 servers and if it...
February 10, 2016 at 6:11 am
kavithaje (2/10/2016)
The query is returning duplicate rows. i have same MachineID and InstanceKey in both tables. only Account. Schema class and time key is different. I mean Work_Station_Admin_1 got...
February 10, 2016 at 6:10 am
ScottPletcher (2/9/2016)
That sounds like Oracle not SQL Server. SS doesn't have CTAS syntax.
Aha, I just assumed it was an unorthodox way of referring to SELECT INTO.
February 9, 2016 at 12:41 pm
Lynn Pettis (2/9/2016)
Silver Spoon(2/9/2016)
ServerName\Instance Cannot be configured for publishing and distribution....
February 9, 2016 at 12:23 pm
What was the point of this?
The response marked as a solution does not reference your table at all.
February 9, 2016 at 11:00 am
etl2016 (2/9/2016)
hi, CTAS is create table as SELECTthank you
The simplest way I can think of doing this is using an SSIS package to submit the queries in parallel via...
February 9, 2016 at 9:56 am
etl2016 (2/9/2016)
I have 10 CTAS statements creating temp tables. Once they are created, they are LEFT OUTER JOINED.
Is there a way, a parallel execution of these 10...
February 9, 2016 at 9:05 am
JustMarie (2/9/2016)
Does this strike anyone else as a homework/interview question?
Strikes me as an example of very bizarre ordering. Still waiting to hear what the logic is.
February 9, 2016 at 8:42 am
First question: do you need to solve all of the problems in the same piece of SQL, or should they be addressed separately?
It's probably easiest if you change your tack...
February 9, 2016 at 6:19 am
Take a look at this: 'Stairway to BIML[/url]'
It will take an investment of your time to get up to speed, but sounds like it might be ideal in your case.
February 8, 2016 at 12:00 pm
subbareddyap (2/8/2016)
Hi,Need small help..
table a (1,3,6,4,9,2,8)
required output
8
9
6
4
3
2
1
venal
Does table 'a' have one row, or seven?
Why does 8 come before 9 ... what is the ordering logic?
February 8, 2016 at 11:37 am
Another way (uses Luis' temp table) (thanks, Luis)
SELECT *
, replace(LEFT(Somestring, charindex('||', Somestring, CHARINDEX('||',Somestring) + 1)-1),'||','-')
FROM #Sample
February 8, 2016 at 8:58 am
Viewing 15 posts - 7,561 through 7,575 (of 13,876 total)