“Apa 1 = 2 dalam SQL” Kode Jawaban

Angka (10 2) dalam SQL berarti

-- Precision of 10 and a scale of 2
SELECT CONVERT(DECIMAL(10, 2), col_name)

SELECT CONVERT(DECIMAL(10, 2), 2.999999)			-- 3.00
SELECT CONVERT(DECIMAL(10, 2), 12352.334)			-- 12352.33
SELECT CONVERT(DECIMAL(10, 2), 12564258524132.336)	-- Error: data truncation
VasteMonde

Apa 1 = 2 dalam SQL

This type of command is usually used to copy the structure of one table 
to another. In this case, EMPL_DEMO will have the same column structure 
of employees , except for the keys or constraints. The 1=2 always 
evaluates to False which prevents you from copying any of the rows.
Kind Kea

Jawaban yang mirip dengan “Apa 1 = 2 dalam SQL”

Pertanyaan yang mirip dengan “Apa 1 = 2 dalam SQL”

Lebih banyak jawaban terkait untuk “Apa 1 = 2 dalam SQL” di Sql

Jelajahi jawaban kode populer menurut bahasa

Jelajahi bahasa kode lainnya