Viewing 15 posts - 3,316 through 3,330 (of 13,855 total)
Hi Phil
It’s a 3rd Party DB/App, I cannot change the tables.
Apologies for not taking the time to read your original post thoroughly enough!
Can you not emulate exactly what the...
September 13, 2019 at 1:34 pm
Why not use an IDENTITY column for this?
Or create a SEQUENCE and use that.
September 13, 2019 at 12:45 am
What are you displaying this in? Excel/SSRS and similar tools offer formatting options to take care of this for you.
SSMS is a query tool, not a presentation tool.
September 13, 2019 at 12:43 am
Is this what you're trying to do?
INSERT #RailCarCycle
(
RailcarID
,StartDate
,StatusID
)
SELECT rccy.RailcarID
,rccy.LoadDate
...
September 12, 2019 at 10:04 pm
Not sure, how would that help in mapping a remote share? Any examples would be helpful
My response was based on this comment by you:
I do have a work around,...
September 12, 2019 at 12:47 pm
I do have a work around, from server S3 i am using a execute SQL task and passing net use along with user name and password, there on all the...
September 12, 2019 at 3:22 am
Please explain what you mean by "hit that server remotely". Is this from within SQL Server? What is the purpose of this?
September 12, 2019 at 3:08 am
Yes Phil. Authentication part is not an issue at all. It works. Thanks for your help.
Np. And lucky you. The hardest part of everything I do in Azure seems...
September 11, 2019 at 10:50 pm
This command won't work unless you have already authenticated with Azure somehow ... have you done that elsewhere in your code?
September 11, 2019 at 9:36 pm
If you execute whatever is in @Cmd directly from the command line, does it work?
September 11, 2019 at 7:56 pm
Here's a full set-up query, using temp tables instead of perms.
DROP TABLE IF EXISTS #RailCarCycle;
CREATE TABLE #RailCarCycle
(
ID INT IDENTITY(1, 1) NOT NULL PRIMARY...
September 11, 2019 at 6:53 pm
What is required is the DDL for RailCarCycleYard, along with INSERT statements to generate sample data there.
Then I will be able to run and adjust your query myself ...
September 11, 2019 at 4:07 pm
the Identity column is not col1 thru col4, it is col12
I am just trying to insert from table1 to table2 (with a unique index) but i get duplicate errors...
September 11, 2019 at 4:04 pm
What is your question?
September 11, 2019 at 3:41 pm
I cannot cut & paste from your post into SSMS in order to create sample tables containing sample data.
If I could do this, I (or someone else) would be in...
September 11, 2019 at 3:40 pm
Viewing 15 posts - 3,316 through 3,330 (of 13,855 total)