Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7516413
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T01:07:23+00:00 2026-05-30T01:07:23+00:00

I have an SQL-File which i need to modify before importing it into the

  • 0

I have an SQL-File which i need to modify before importing it into the database.

INSERT INTO 'content' ('id', 'title', 'alias', 'title_alias', ... ) VALUES
(1, ... , ... , ... )
(2, ... , ... , ... )
(3, ... , ... , ... )

Now i want to kick one of the columns, assume alias (the third value)

What would be the appropriate regex for notepad++? I didn’t get measly tries to work:-/

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T01:07:25+00:00Added an answer on May 30, 2026 at 1:07 am

    You can do it with regex, but why don’t you do it the other way? I mean:

    1. create the table as necessary
    2. load the data
    3. delete the unneeded column:

      ALTER TABLE table_name DROP COLUMN column_name;
      
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a pregenerated CSV file on which I need to run SQL queries.
I have a rather large SQL file which starts with the byte order marker
I have the following query in iSeries SQL which I output to a file.
I have created a windows form application which uses an SQL database. The database
I have a huge SQL script which i need to analyse. It would be
I have a 3 huge 5GB .sql files which I need to upload to
I have a utility which: grabs sql commands from a flat text file executes
I have a sql file generated by mysqldump --all-databases . There are many databases
I have a .sql file from a MySQL dump containing tables, definitions and data
I have a SQL dump file consisting of incorrectly stored Cyrillic Russian ( WINDOWS-1251

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.