When writing SQL queries, especially the sp (stored procedure), temp table (temporary table) can create difficulties arise. At least you need to create delete the temporary table. The way to overcome this difficulty, such as the following to create a temporary table to use.
DECLARE @TMP_TABLE_NAME(
FIELD_ID INT IDENTITY(1, 1),
FIELD_1 INT,
FIELD_2 [...]
SQL sorguları yazarken, özellikle sp (stored procedure), temp table (geçici tablo) oluştururken sıkıntılar çıkabiliyor. En azından oluşturduğunuz geçici tabloyu silmeniz gerekiyor. Bu sıkıntıları aşmanın yolu geçici tabloyu aşağıdaki gibi oluşturup kullanmaktır.
DECLARE @TMP_TABLE_NAME(
FIELD_ID INT IDENTITY(1, 1),
FIELD_1 INT,
FIELD_2 [...]
Microsoft SQL Server 2005 SP3 ü yayınladı. Daha fazla bilgiyi ve download [...]
Recent Comments