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 9155195
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T12:32:59+00:00 2026-06-17T12:32:59+00:00

I have table in my database CREATE TABLE user_user ( id bigint NOT NULL,

  • 0

I have table in my database

CREATE TABLE user_user (
    id bigint NOT NULL,
    creationdate timestamp without time zone,
    externalid character varying(255),
    installdate timestamp without time zone,
    lastlogindate timestamp without time zone,
    password character varying(255),
    status character varying(255),
    username character varying(255) NOT NULL,
    usertype character varying(255),
    information_fk bigint,
    operator_id bigint,
    loginip character varying(255),
    logged boolean,
    bonuspercent integer DEFAULT 20,
    factor integer DEFAULT 100,
    givefree boolean,
    flashfile character varying(255),
    useraccess integer DEFAULT 0 NOT NULL,
    reportsaccess integer DEFAULT 0 NOT NULL,
    gamesaccess integer DEFAULT 0 NOT NULL,
    transactionsaccess integer DEFAULT 0 NOT NULL
);

Now I need to feed it with data. I have query but it doesn’t work. What’s wrong? SQL Editor says
ERROR: syntax error (the approximate position of “51”)

COPY user_user (id, creationdate, externalid, installdate, lastlogindate, password, status, username, usertype, information_fk, operator_id, loginip, logged, bonuspercent, factor, givefree, flashfile, useraccess, reportsaccess, gamesaccess, transactionsaccess) FROM stdin;
51  2011-12-16 15:30:57.901 \N  \N  2013-01-19 09:10:02.789 101918  ENABLED ceco    USER    51  50  \N  f   20  100 f   localhost   0   0   0   0
53  2011-12-16 15:30:57.989 \N  \N  2012-08-17 14:46:32.052 101918  ENABLED kostas  USER    53  50  \N  f   20  100 f   localhost   0   0   0   0
1650    \N  \N  \N  2012-08-08 10:57:07.79  101918  ENABLED lubo    USER    1600    50  \N  f   20  100 f   localhost   0   0   0   0
52  2011-12-16 15:30:57.943 \N  \N  2012-08-19 12:00:42.198 101918  ENABLED vania   USER    52  50  \N  f   20  100 f   localhost   0   0   0   0
10  \N  \N  \N  \N  22222   ENABLED root    GROUP   10  \N  \N  f   20  100 f   localhost   0   0   0   0
21  \N  \N  \N  2012-03-23 06:33:23.38  karakondjoli    ENABLED rootadmin22 ADMIN   21  20  \N  f   20  100 f   localhost   0   0   0   0
20  \N  \N  \N  \N  dsjadsghjghjghsag   ENABLED rootaf  GROUP   20  \N  \N  f   20  100 f   localhost   0   0   0   0
11  \N  \N  \N  2013-01-17 08:52:07.279 101918  ENABLED rootadmin   ADMIN   11  10  127.0.0.1   f   20  100 f   localhost   15  0   0   0
50  2011-12-16 15:30:57.825 \N  \N  2013-01-18 08:43:54.433 opera   ENABLED operator    OPERATOR    50  10  \N  f   0   100 f   192.168.1.103   0   0   0   0
\.
  • 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-06-17T12:32:59+00:00Added an answer on June 17, 2026 at 12:32 pm

    Perhaps you are using the copy command from pgAdmin or another editor, use the command line like this:

    psql -d yournewdatabase -U username -f yourbackupfile
    

    in windows you must go to c:\Program files (x86)\Postgres\8.3\bin to issue the command (replace 8.3 with the actual version of postgresql you are using)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a table: CREATE TABLE photo ( photo_id BIGINT NOT NULL AUTO_INCREMENT, property_id
I have 2 tables in my mysql database: CREATE TABLE IF NOT EXISTS `RECIPES`
I have mysql database structure like below: CREATE TABLE test ( id int(11) NOT
I have this database structure, SET SQL_MODE=NO_AUTO_VALUE_ON_ZERO; CREATE TABLE IF NOT EXISTS `announces` (
I have this table in the mqsql database create table datedemo(logintime timestamp,updatedtime timestamp); updatedtime
I have the following table in PostgreSQL database: CREATE TABLE maclist ( username character
I have a table PAYMENTS in MySql database: CREATE TABLE `PAYMENTS` ( `ID` BIGINT(20)
I have this table structure on a SQL Server 2008 R2 database: CREATE TABLE
I have the following table in a SQLite3 database: CREATE TABLE overlap_results ( neighbors_of_annotation
I have the following table and sequence in my postgresql-8.4 database: CREATE TABLE complexobjectpy

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.