字符串内置的函数
摘要:a ='studesnt'print(a.capitalize())print(a.count('s')) #字符串的位置查找返回的下标中,字符串的第一个字符的下标定义 为0.print(a.find('n'))print(a.find('o'))print (a.index('d'))print(
阅读全文
posted @
2023-03-28 13:03
宇宇小子
阅读(29)
推荐(0) 编辑
Oracle/Mysql/SqlServer 常用函数区别
摘要:1.类型转换 --Oracle select to_number('123') from dual; --123; select to_char(33) from dual; --33; select to_date('2004-11-27','yyyy/mm/dd') from dual;--20
阅读全文
posted @
2023-03-20 19:25
宇宇小子
阅读(38)
推荐(0) 编辑
Oracle一次插入多条数据
摘要:Oracle一次插入多条数据(批量插入)语法:INSERT ALL INTO tableName (column1, column2, column_n) VALUES (expr1, expr2, expr_n) INTO tableName (column1, column2, column_n
阅读全文
posted @
2023-03-03 17:15
宇宇小子
阅读(1403)
推荐(0) 编辑