closed. The next time a process is turned on again, the corresponding port is turned on again. Instead of purely understanding that a port is closed, you can disable a port.1. "~$ NETSTAT-ANP" can be used to see which ports are open.(Note: The parameter '-n ' will convert the application to port display, that is, the address of the number format, such as: nfs->2049, ftp->21, so you can open two terminals, one for each corresponding to the port number of the program)2. The program that applies t
A, delete all data tables for the specified database#!/bin/bash# Delete all tables in MySQL # example: # Usage:./Script user Password dbnane# Usage:./script User Password Dbnane server-ip# Usage:./script user Password Dbnane mysql.nixcraft.inch# ---------------------------------------------------Muser=" $"Mpass=" $"MDB=" $"Mhost="localhost" [ "$4"!=""] mhost="$4
Create Table space script in oracle and create script in oracle
Preface:
Previously, we used oracle tools to generate tablespaces. Today we see a more convenient and fast way to use database scripts.
/* Divided into four steps * // * Step 4: create a temporary tablespace */create temporary tablespace airforce34 tempfile 'd: \ date \ airforce34.dbf' size 1st
Drag a table column to change the column width of the table, and use JavaScript scripts to add it to favorites! See the following
Code ...
Html
>
Head
>
Meta HTTP
-
Equiv
=
"
Content-Type
"
Content
=
"
Text/html; charset = gb2312
"
>
Style
>
. Resizedivclass
{Position: relative;Background-Color: red;Width:2;Z-Index:1;Left: expression (This. Par
Use [Master]GoSet ansi_nulls onGoSet quoted_identifier onGo/* | **************************************** ************************************Software name: May Flower ERPCopyright: (c) 2005-2006 may flower ERP development teamObject Name: sp_helptableObject Author: lvqyCreated on: 2005-12-04Modification record:Function Description: obtains the creation script of a specified table, including the
The company's recent MySQL always has a large number of lock tables. After analysis, it basically uses the MYISAM Table engine. A large number of reads and writes to a table by MYISAM will cause the entire MySQL table to be locked, as a result, dynamic content cannot read data in a timely manner, which has a huge impact on the user experience. The principle of IN
First create an HTML page for sort.html and copy the following content into it
Copy Code code as follows:
New Script Page Sort.js
Copy Code code as follows:
/*
Table sorting function
Events: 2012 7 24
DOM node
If the table needs to be sorted add sort= "true" in the Table property
Database practical Script 1 --- query the table names with data in the database and the number of rows in the table, 1 --- number of rows
Create table # Temp(Name varchar (30 ),Num int)
Declare @ Name varchar (30)Declare @ SQL varchar (1000)
Declare D_cursor CursorSelect name from sysobjects where xtype = 'U'
Open
Label:In auditing, it is sometimes necessary to modify the table structure of Oracle and then create the table structure in SQL Server, and then import the data into SQL Server, in the process of modifying the table structure. Manual modification, the most stupid method, or using the tool UE batch modification, still do the method, The most convenient way is to u
Position = 4)and exists (select 1 from user_ind_columns where index_name = ' idx_bailcalcinfo ' and column_name = ' operator_no ' and column _position = 5);--exists but is not correct, delete indexIf V_rowcount2 = 0 ThenExecute immediate ' drop index hs_futures. Idx_bailcalcinfo ';End If;End If;--the index is rebuilt if there is no OR exists but is not correctIf v_rowcount1 = 0 or V_rowcount2 = 0 ThenExecute immediate ' CREATE INDEX hs_futures. Idx_bailcalcinfo on Hs_futures.bailcalcinfo (futu_
The javascript widget native table sorting table script is compatible with iefirefoxoperachrome. If you need it, refer to create the HTML page sort.html at the beginning and copy the following content.
The Code is as follows:
Untitled document
The javascript widget native table sorting table script is compatible with iefirefoxoperachrome. If you need it, refer to create the HTML page sort.html at the beginning and copy the following content.
The Code is as follows:
Untitled document
Tags: style blog http color OS SP data on 2014Today, the company gave a task, a project because the data is too large, causing SQL Server 2012 to run with a lot of memory, so to separate the previously infrequently used data. Ask to write a script that requires:1. Can get the table structure in the original database, the primary key is consistent. The constraint Relationship between
Share an SQLSERVER script (calculate the data volume of each table in the database and the space occupied by each row of Records) in many cases, we need to calculate the data volume of each table in the database and the space occupied by each record. Here we share a script CREATETABLE # tablespaceinfo (nameinfoVARCHAR
. NET application architecture design-coding of table module mode and transaction Script Mode
Reading directory:1. Background introduction 2. A brief introduction to the table module mode and transaction Script Mode 3. Correct Coding of the table module mode and transaction
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.