ニュース

SQL Server 2008 introduces the ability to pass a table data type into stored procedures and functions. The table parameter feature can greatly ease the development process because you no longer need ...
CREATE OR ALTER FUNCTION fn_get_city_name ( @address AS VARCHAR(100) ) RETURNS VARCHAR(100) AS BEGIN DECLARE @city_name AS VARCHAR(100) SELECT @city_name = TRIM(LEFT(@address,CHARINDEX(',', @address)) ...
This is an attempt at making a slightly dynamic query to modify in bulk a CMDB at work. Using SQL Server 2008. I'm trying to update a column with a specific value. I want the table, the column and the ...
Well, if you happen to be using Sql Server you can do that sort of thing in T-Sql. In Oracle, you can also accomplish the same thing using pl/sql. Either way i'd do it in a stored ...