Find Jobs
Hire Freelancers

T-SQL How to Insert Into from Table with Identity Column

$10-30 USD

Chiuso
Pubblicato più di un anno fa

$10-30 USD

Pagato al completamento
Our tables have hundreds of columns and most are not used so they have null values in most of the rows. I want to do inserts from a temp table into a persistent table but I get the error that the column list must be specified. What is the script to allow the insert from the temp table into the persistent table with an identity column? Or, generate the Select and Insert Into statement for only columns that do not have all null values in the rows in the table. SELECT * FROM [MergeAccounts].[dbo].[table1] SET IDENTITY_INSERT [dbo].[table1] On; BEGIN TRAN SELECT * INTO #tmpTESTTABLE1 FROM [dbo].[table1] WHERE IDNUM = 11113; INSERT INTO [table1] SELECT * FROM #tmpTESTTABLE1; DROP TABLE #tmpTESTTABLE1; DELETE FROM [table1] WHERE IDNUM = 11113; COMMIT TRAN; --An explicit value for the identity column in table 'table1' can only be specified when a column list is used and IDENTITY_INSERT is ON. --NEEDS column LIST SET IDENTITY_INSERT [dbo].[table1] OFF; SELECT * FROM [MergeAccounts].[dbo].[table1] Sql Server 2016, Database Create script attached. Please reply with: The time of day that you are available. I am available 7am to 10pm UTC-06:00 Central Time US & Canada. Will you require contact by voice and do you speak English? When you can complete the project. Confidentiality. a) No Use. Recipient agrees not to use the Confidential Information in any way, or to manufacture or test any product embodying Confidential Information, except for the purpose set forth above. b) No Disclosure. Recipient agrees to use its best efforts to prevent and protect the Confidential Information, or any part thereof, from disclosure to any person other than Recipient's employees having a need for disclosure in connection with Recipient's authorized use of the Confidential Information. c) Protection of Secrecy. Recipient agrees to take all steps reasonably necessary to protect the secrecy of the Confidential Information, and to prevent the Confidential Information from falling into the public domain or into the possession of unauthorized persons. d) Scope. The scope of Confidentiality is deemed to be in all contracts present past and future with the Parties to this request
Rif. progetto: 34679819

Info sul progetto

12 proposte
Progetto a distanza
Attivo 2 anni fa

Hai voglia di guadagnare un po'?

I vantaggi delle offerte su Freelancer

Imposta il tuo budget e le scadenze
Fatti pagare per il lavoro svolto
Delinea la tua proposta
La registrazione e le offerte sui lavori sono gratuite
12 freelance hanno fatto un'offerta media di $36 USD
Avatar dell'utente
Hi, I’m very interested in your job posting. Please consider my application. I have a background in database administration in MS SQL server and have been doing this for 7+ years. I have experience and can work with you to generate insert script for the table with hundreds of columns. If identity column is in the table then you must specify column list. There is no other way to insert data. I'm available tomorrow at your time. And can speak English. Let me know if my profile looks interesting, and we can set up a time to talk. Thank you and looking forward to working with you. Best Regards, Awais Noman
$30 USD in 7 giorni
5,0 (24 valutazioni)
5,4
5,4
Avatar dell'utente
T-SQL How to Insert Into from Table with Identity Column Hi, how are you? Can we discuss in detail? I believe I could swiftly surpass your expectations for this role. I look forward to discussing your needs and what I can offer in further detail. Thank you for your consideration.
$125 USD in 2 giorni
5,0 (13 valutazioni)
5,2
5,2
Avatar dell'utente
Hi I have 15 years experience with sql server database development, mysql database development, performance tuning. I will be able to help you with the project. Please ping me offline to discuss further.
$100 USD in 1 giorno
4,9 (13 valutazioni)
4,6
4,6
Avatar dell'utente
I can help you with sql server queries , please ping/connect me now I am available. Please check my reviews and project which I have completed. I can create sql queries for sql server database as per design, let me know when to proceed. I can work on future works for databases also if needed. I will work for cheapest budget within time, budget can be re negotiated again, send the details for the project. Please contact me asap. I have 12+ years of experience in database programming, website designing, powershell scripting and android development. Feel free to message me anytime if you need to discuss this further.
$10 USD in 1 giorno
5,0 (9 valutazioni)
4,4
4,4
Avatar dell'utente
Hello there, I have read your requirements and am confident I am the right candidate for the job. Among other things, I have over ten years of experience in Oracle PLSQL, PostgreSQL, MySQL, MS SQL, and others. Furthermore, I am available 24x7 to answer any questions you may have about the requirements. I look forward to hearing from you as soon as possible I would appreciate it if you would click the chat button for me if you are interested. Thanks a lot. Best regards.
$20 USD in 7 giorni
5,0 (5 valutazioni)
3,8
3,8
Avatar dell'utente
i can help you to create sql statment to insert your data …..,,,,, ……,…. sql procedure ..,……. ……….
$30 USD in 2 giorni
5,0 (3 valutazioni)
2,7
2,7
Avatar dell'utente
Hi, I can help you with T-SQL scripts. I am available matching your time zone, 7am to 10pm. I can finish the task in a day. Also I dont think I require contact by voice, but if needed I do speak English.
$30 USD in 1 giorno
0,0 (0 valutazioni)
0,0
0,0
Avatar dell'utente
Can satisfy you with my work, u have not exp as good as me u will be fan of my work u good we good we all good
$20 USD in 7 giorni
0,0 (0 valutazioni)
0,0
0,0
Avatar dell'utente
Having proven expertise in sql and performance tuning of 15+ yrs. My availability is from 7 pm Ist to 11pm ist. Available for discussion anytime of the day.
$20 USD in 7 giorni
0,0 (0 valutazioni)
0,0
0,0
Avatar dell'utente
Hello, I read your post. I have 1 year of experience on it. I like i can provide you the perfect work. Buyer satisfaction is my first priority. I like to do this job. I am waiting for your responce. Thank you.
$10 USD in 7 giorni
0,0 (0 valutazioni)
0,0
0,0
Avatar dell'utente
Hi, I have been working as a Senior software development specialist in many companies for over 10 years. My expertise is mostly on web-based technologies. I have mastered are .net c#, sql, html , css, javascript and various software development technologies. I thing I know the source of the script.
$20 USD in 2 giorni
0,0 (0 valutazioni)
0,0
0,0

Info sul cliente

Bandiera: UNITED STATES
SAN ANGELO, United States
5,0
285
Metodo di pagamento verificato
Membro dal lug 28, 2008

Verifica del cliente

Grazie! Ti abbiamo inviato tramite email il link per richiedere il tuo bonus gratuito.
Non è stato possibile inviarti l'email. Riprova per piacere.
di utenti registrati di lavori pubblicati
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Caricamento anteprima
Autorizzazione per la geolocalizzazione concessa.
La tua sessione è scaduta ed è stato effettuato il log out. Accedi nuovamente per piacere.