Microsoft
Software
Hardware
Network
Question : Update in Stored Procedure
I dont think I have done this before with a stored procedure.
But, I need to update multiple item numbers at the same time
Like this...
IN ('abc', 'dfg', 'hij')
UPDATE dbo.aspnet_webItems SET
[Desc] = @Desc,
[Vendor] = @Vendor,
[Category] = @Category,
[Sub] = @Sub,
[Grp] = @Grp,
[imgProduct] = @imgProduct,
[Memo_Desc] = @Memo_Desc,
[personalization] = @Personalization,
[Suggested1] = @Suggested1,
[Suggested2] = @Suggested2,
[Suggested3] = @Suggested3,
[Suggested4] = @Suggested4
WHERE
[Item_No] = @Item_No
Answer : Update in Stored Procedure
The arp -d will remove any entry from the local ARP table, which contains the MAC address related to the IP. If the IP changes, the MAC "cache" is wrong for max. 60 seconds (which is the typical lifetime of ARP entries). So the second one is correct. An flushdns would only help if the IP address does not belong to the DNS address used any longer.
The first one helps indeed. However, the server should announce itself fast enough to make nbtstat -R superfluous. But it is not wrong.
NbtStat caches the NetBIOS information - who is Master Browser, which NetBIOS services are propagated. With AD those information is stored there, with DNS entries, and then, and only then, a flushdns would help.
Random Solutions
Watchguard XTM 505 or FIREBOX X550E - is it too soon to jump?
ColdFusion/SQL Procedure Undefined Variable Problem
Comparison Netgear ReadyNAS vs. Buffalo Terastation
Wyse thin client and Citrix display/graphic lag
Copying excel WB in Excel 2007
I need to stop, then re-start, a thread in a web service using IIS
Adding URL Parameter
access to css 11503 using GUI
Is There Asp Code to read folder contents and create hypelinks?
correct syntax for a switch statement in crystal 2008