current location:Home > Technical Articles > Database > SQL

  • How to modify table name in oracle
    How to modify table name in oracle
    How to modify the table name in Oracle: 1. Use alter table oldname rename to newname to modify the table name; 2. Use rename oldname to newname. This method can only modify tables under your own schema, etc.
    SQL 6992 2020-03-02 15:37:18
  • How to delete table data in oracle
    How to delete table data in oracle
    How to delete table data in Oracle: 1. Use "truncate table table name" to delete all data in the table, which is fast, but cannot be deleted according to conditions; 2. Use "delete from table name where condition" to delete table data, which can be deleted according to conditions. , but slow.
    SQL 21264 2020-02-29 11:58:25
  • How to modify field length in oracle
    How to modify field length in oracle
    How Oracle modifies the field length: Use the modify keyword to modify the field length. The format is: "alter table table name modify field name data type (length)".
    SQL 38561 2020-02-29 11:33:25
  • Oracle deletes duplicate data and keeps the first record
    Oracle deletes duplicate data and keeps the first record
    How Oracle deletes duplicate data and retains the first record: Delete redundant duplicate records in the table. Duplicate records are judged based on a single field ID, leaving only the record with the smallest rowid. Specifically, DELETE, IN, GROUP BY, and NOT are used. , COUNT and other statements.
    SQL 8552 2020-02-29 10:37:46
  • Usage of Case When in SQL
    Usage of Case When in SQL
    In SQL, the "Case When" statement is used for selection judgment. During execution, the condition is first judged, and then the corresponding operation is made based on the judgment result; the syntax "CASE field WHEN condition 1 THEN operation 1 WHEN condition 2 THEN operation 2. ..ELSE operation n END;".
    SQL 182633 2022-03-29 16:19:14
  • What to do if sql fails to connect to the server
    What to do if sql fails to connect to the server
    SQL connection to the server failed because the database engine did not start. The solution: first click "Start->Programs->Microsoft SQL Server 2008->SQL Server 2008 Peripheral Application Configurator"; then click "Service" and select Start. Can.
    SQL 17176 2020-02-18 10:56:52
  • what is microsoft sql server
    what is microsoft sql server
    Microsoft SQL Server is a comprehensive database platform that provides enterprise-level data management using integrated business intelligence tools; the Microsoft SQL Server database engine provides more secure and reliable storage functions for relational data and structured data.
    SQL 7820 2020-02-18 10:20:31
  • Usage of inner join in sql
    Usage of inner join in sql
    INNER JOIN is a multi-table connection keyword in SQL. The syntax is: SELECT * FROM table1 INNER JOIN table2 ON table1.field1 compopr table2.field2, which is used to query related data between two tables.
    SQL 12025 2020-02-14 16:22:45
  • What does where 1=1 mean in SQL statement?
    What does where 1=1 mean in SQL statement?
    Where 1=1 in the SQL statement is automatically generated by the program to avoid grammatical errors caused by the first word after the where keyword being "and".
    SQL 7853 2020-02-13 17:19:58
  • The principle of SQL injection attack
    The principle of SQL injection attack
    The principle of SQL injection attack: A malicious user inserts a SQL statement into the request content during the process of submitting a query request. At the same time, the program itself overly trusts the user input content and fails to filter the SQL statement inserted by the malicious user, causing the SQL statement to be directly Server-side execution.
    SQL 16391 2020-02-13 17:13:33
  • What is the SQL statement to create a view?
    What is the SQL statement to create a view?
    SQL creates a view using the create view statement. The specific usage is as follows: create view viewname as select * from <name of table> where <some restrictions>.
    SQL 33347 2020-02-13 16:56:09
  • Usage of case when in sql
    Usage of case when in sql
    Case has two formats: simple case function and case search function. The simple case function is relatively simple to write, but compared with the case search function, there are some functional limitations, such as writing predicates.
    SQL 22483 2020-02-13 16:35:04
  • What does 'select 1 from table' mean?
    What does 'select 1 from table' mean?
    "Select 1 from table" means to check whether there are records in the table. 1 is a constant, and the value of all rows found is it. In terms of efficiency, 1>column>*, because 1 does not need to look up the dictionary table .
    SQL 20700 2020-02-13 16:13:14
  • How to delete data using sql statement
    How to delete data using sql statement
    SQL can use the delete statement to delete data. The syntax is "delete from table name where...". When where does not match any records, no data will be deleted. When the where statement is not written, the table will be deleted. All data.
    SQL 42265 2020-02-07 13:16:18
  • sql intercepts the first digits of a string
    sql intercepts the first digits of a string
    In SQL, you can use the LEFT function to get the first few digits of a string. The syntax is "LEFT(string,length)", string is the intercepted string, and length is the length to be intercepted, for example, LEFT("www.php. cn",3) can intercept www.
    SQL 23920 2020-02-07 12:37:29

Tool Recommendations

jQuery enterprise message form contact code

jQuery enterprise message form contact code is a simple and practical enterprise message form and contact us introduction page code.
form button
2024-02-29

HTML5 MP3 music box playback effects

HTML5 MP3 music box playback special effect is an mp3 music player based on HTML5 css3 to create cute music box emoticons and click the switch button.

HTML5 cool particle animation navigation menu special effects

HTML5 cool particle animation navigation menu special effect is a special effect that changes color when the navigation menu is hovered by the mouse.
Menu navigation
2024-02-29

jQuery visual form drag and drop editing code

jQuery visual form drag and drop editing code is a visual form based on jQuery and bootstrap framework.
form button
2024-02-29

Organic fruit and vegetable supplier web template Bootstrap5

An organic fruit and vegetable supplier web template-Bootstrap5
Bootstrap template
2023-02-03

Bootstrap3 multifunctional data information background management responsive web page template-Novus

Bootstrap3 multifunctional data information background management responsive web page template-Novus
backend template
2023-02-02

Real estate resource service platform web page template Bootstrap5

Real estate resource service platform web page template Bootstrap5
Bootstrap template
2023-02-02

Simple resume information web template Bootstrap4

Simple resume information web template Bootstrap4
Bootstrap template
2023-02-02

Cute summer elements vector material (EPS PNG)

This is a cute summer element vector material, including the sun, sun hat, coconut tree, bikini, airplane, watermelon, ice cream, ice cream, cold drink, swimming ring, flip-flops, pineapple, conch, shell, starfish, crab, Lemons, sunscreen, sunglasses, etc., the materials are provided in EPS and PNG formats, including JPG previews.
PNG material
2024-05-09

Four red 2023 graduation badges vector material (AI EPS PNG)

This is a red 2023 graduation badge vector material, four in total, available in AI, EPS and PNG formats, including JPG preview.
PNG material
2024-02-29

Singing bird and cart filled with flowers design spring banner vector material (AI EPS)

This is a spring banner vector material designed with singing birds and a cart full of flowers. It is available in AI and EPS formats, including JPG preview.
banner picture
2024-02-29

Golden graduation cap vector material (EPS PNG)

This is a golden graduation cap vector material, available in EPS and PNG formats, including JPG preview.
PNG material
2024-02-27

Home Decor Cleaning and Repair Service Company Website Template

Home Decoration Cleaning and Maintenance Service Company Website Template is a website template download suitable for promotional websites that provide home decoration, cleaning, maintenance and other service organizations. Tip: This template calls the Google font library, and the page may open slowly.
Front-end template
2024-05-09

Fresh color personal resume guide page template

Fresh color matching personal job application resume guide page template is a personal job search resume work display guide page web template download suitable for fresh color matching style. Tip: This template calls the Google font library, and the page may open slowly.
Front-end template
2024-02-29

Designer Creative Job Resume Web Template

Designer Creative Job Resume Web Template is a downloadable web template for personal job resume display suitable for various designer positions. Tip: This template calls the Google font library, and the page may open slowly.
Front-end template
2024-02-28

Modern engineering construction company website template

The modern engineering and construction company website template is a downloadable website template suitable for promotion of the engineering and construction service industry. Tip: This template calls the Google font library, and the page may open slowly.
Front-end template
2024-02-28