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

  • Home
  • SEARCH
  • 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 8684239
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T22:15:20+00:00 2026-06-12T22:15:20+00:00

I am using Microsoft SQL Server 2012 Express. The following code from MySQL gives

  • 0

I am using Microsoft SQL Server 2012 Express. The following code from MySQL gives me error
when running query, can anyone guide me in how to correct it?

/*!40101 SET NAMES utf8 */;

/*!40101 SET SQL_MODE=''*/;

/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
create database  /*!32312 IF NOT EXISTS*/ `android_api`/*!40100 DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci */;
use `android_api` ;/** Selecting Database **/
DROP TABLE IF EXISTS `users`;
/** Creating Users Table **/
create table `users`(
   uid int(11) primary key auto_increment,
   unique_id varchar(23) not null unique,
   name varchar(50) not null,
   email varchar(100) not null unique,
   encrypted_password varchar(80) not null,
   salt varchar(10) not null,
   created_at datetime,
   updated_at datetime null
)ENGINE=InnoDB AUTO_INCREMENT=877888 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

DROP TABLE IF EXISTS `events`;
/** Creating Users Table **/
create table `events`(
   eid int(11) primary key auto_increment,
   unique_id varchar(23) not null unique,
   title varchar(50) not null,
   date varchar(50) not null,
   time varchar(50) not null,
   location varchar(100) not null,
   person varchar(20) not null,
   phone varchar(20) not null,
   budget varchar(20) not null,
   comments varchar(50) not null,
   resource varchar(150) not null,
   uuid varchar(23) not null,
   created_at datetime,
   updated_at datetime null
)ENGINE=InnoDB AUTO_INCREMENT=877888 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
  • 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-12T22:15:21+00:00Added an answer on June 12, 2026 at 10:15 pm
    create database android_api;
    GO
    use android_api;
    GO
    create table users(
       uid int identity(877888,1) primary key,
       unique_id varchar(23) not null unique,
       name varchar(50) not null,
       email varchar(100) not null unique,
       encrypted_password varchar(80) not null,
       salt varchar(10) not null,
       created_at datetime,
       updated_at datetime null
    );
    GO
    create table events(
       eid int identity(877888,1) primary key,
       unique_id varchar(23) not null unique,
       title varchar(50) not null,
       date varchar(50) not null,
       time varchar(50) not null,
       location varchar(100) not null,
       person varchar(20) not null,
       phone varchar(20) not null,
       budget varchar(20) not null,
       comments varchar(50) not null,
       resource varchar(150) not null,
       uuid varchar(23) not null,
       created_at datetime,
       updated_at datetime null
    );
    GO
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using microsoft sql server and my query is of the following format
I am using a JDBC driver for Microsoft SQL Server 2012 (sqljdbc_4.0) and although
Using Microsoft SQL server 2008 I have a query that is in need of
Using Microsoft SQL Server 2005 - wondering how can I escape parenthesis in my
Im using Microsoft SQL Server Management Studio Express to connect to our SQL Server
I'm using Microsoft SQL Server 2005. I think I need a sub-query. I'm looking
I recently had to switch from using Microsofts SQL server to using MySQL. The
Using Microsoft SQL Server. Running a stored procedure that returns 'No column name' as
I am using Microsoft Sql Server 2008. with this below query certain rows are
Using Microsoft SQL Server's database mirroring capability, can the mirroring occur between two clusters?

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.