The SQL Server function converts the number of RMB into a large write format: CREATEFUNCTION [dbo]. [f_num_chn] (@ numnumeric (100) RETURNSvarchar (100) returns @ n_dataVARCHAR (20), @ c_dataVARCHAR (), @ n_strVARCHAR (10), @ iintSET @ n_dataRIGHT
SQL Common face question (summary)1. Use an SQL statement to find out the names of students who have more than 80 points per courseName Kecheng FenshuZhang San language 81Zhang San Mathematics 75John Doe Language 76John Doe Mathematics 90Harry
SQL Server function converts renminbi numbers to uppercase
CREATE FUNCTION [dbo]. [F_num_chn] (@num numeric (14,5))
RETURNS varchar with encryption
As
BEGIN
DECLARE @n_data VARCHAR (VARCHAR), @c_data (a), @n_str VARCHAR (a), @i int
SET @n_data
Title:mssql injection in explicit and non-error mode--2010-10-27 19:51The recent use of manual injection with the habit, then list the most recent use of the MSSQL statement, later convenient to use!---------------------------------------------------
Author: Note One day, I was prepared to perform a big test on a certain school. So I had this post. First, as usual, you can submit data anywhere to see the general security of your website. Select an asp display page and submit a single quotation
I am used to using manual injection recently. I will list the recently used Mssql statements for convenience in the future!
Certificate ------------------------------------------------------------------------------------------------------------------
A marketplace has been injected to obtain more than 500 million user information and more than 600 million merchant information.
User Data is leaked, and the mobile phone number of the ID card is exposed.
GET
Yesterday, k0baikeyou threw a website. Aspx + mssql Program (;"Used to separate two statements, and"--"Is the annotator, and the statements after it are not executed! Don't ask me why I add
Step 1,
'And 1 = 1 error
And '1' = '1 normal
Return
User feedback said to find duplicate document number, check found that the following document number was assigned to a different two employeesThe system uses the statement exec getnewordernumber ' pwgnumber ', ' PWG ', 1, @pwg_number outputTo
The conversion between 10 and 16 of the LSN
First, 16 into the system
LSN, which is the log sequence number, is divided into 3 paragraphs in 16-Sequence, in the form of:
FSeqNo:SectorNo:SlotNo
The meanings are:
1 1th: Fseqno
This Monday night, received a database mirroring suspend and synchronizing state to switch back and forth the alarm, see this error, in fact, quite common.Our repair steps are generally as follows:1. ALTER DATABASE * * * SET PARTNER RESUMEIf this
Multiple SQL injection vulnerabilities in a general manuscript System (packaging)
Multiple SQL injection vulnerabilities in a general manuscript System (packaging)
Google Keyword: technical support: Nanjing jienuhan Software Technology Co.,
General SQL injection vulnerability in a contribution system (affecting many enterprises and schools)
Many search results are found here. Take a few tests:POST/web/keysearch. aspx HTTP/1.1Host: www.XXXX.comUser-Agent: BaiduspiderAccept: text/html,
Sometimes we need to know the file number and page number of a record stored in the table, but after our own query, it is a hexadecimal page number, then how can we calculate the "file number" and "page number" of the Record Based on the hexadecimal
Find the corresponding uppercase information in the specified character
CREATE function Get_StrArrayStrOfIndex(@ Str varchar (1024), -- string to be split@ Split varchar (10), -- Separator@ Index int -- obtains the nth element.)Returns varchar (1024)
The index allocation Map,iam page tracks the extents used by an allocation unit in a 4 GB interval. An allocation unit is a set of pages that belong to a single partition of a datasheet or index. It consists of one of the following three types of
1. View the file number of the current record, page page, and slot in the page based on the data record.Examples are as follows:Ten %%physloc%%, Sys.fn_physlocformatter (%%physloc%%) as RID from TableName--Note: In the 64-bit system, the format of
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.