select a,b,null,null from table1 union select null,null,c,d from table2 union select null,null,null,null,e,f from table3.
Select char_length(cast('123456789 1' as varchar(10))) from rdb$database. Получаем: Exception ... string truncation Т.е. пробел мы обрезать можем, а другие символы нет. Так и должно быть или нет?
The null character (also null terminator or null byte), abbreviated NUL or NULL, is a control character with the value zero. It is present in many character sets, including ISO/IEC 646 (or ASCII)...
Union select null, null, null, null, null, null, null from information_schema.tables. for a small database containing three tables. this instruction is used in sql injection I tried it and it worked but I didn't really know how it works can somebody help me...
Note: A NULL value is different from a zero value or a field that contains spaces.
Даже выражение NULL != NULL не будет истинным, ведь нельзя однозначно сравнить одну неизвестность с другой. Кстати, ложным это выражение тоже не будет, потому что при вычислении условий Oracle не ограничивается состояниями ИСТИНА и ЛОЖЬ.
union all select null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null
You can use the Oracle IS NOT NULL condition in either a SQL statement or in a block of PLSQL code.
Union select null, null, null, null, null, null -- test all nulls --*/ ). A. DECLARE @ColumnDynamicSQL nvarchar(MAX)