Microsoft
Software
Hardware
Network
Question : asp.net .
the first ID is an Integer and match Equipment.ID = @ID this OK.
but the rest of the updates need the ID converted to a string
I Need a means to convert @ID to a string
UPDATE [Equipment] SET [IsLockedOut] = 'True', [LastLockOutDate] = GetDate() WHERE Equipment.ID = @ID
UPDATE [CustomerImages] Set [IsLockedOut] = 'True', [LastLockOutDate] = GetDate() WHERE [CustomerImages].[ImageId]
= @ID.ToString() + '%'
UPDATE [Radactive_ILoad_Images] Set [IsLockedOut] = 'True', [LastLockOutDate] = GetDate() WHERE [Radactive_ILoad_Images].[
ImageId] = @ID.ToString() + '%'
UPDATE [Radactive_ILoad_Indexes] Set [IsLockedOut] = 'True', [LastLockOutDate] = GetDate() WHERE [Radactive_ILoad_Indexes].
[ImageId] = @ID.ToString() + '%'"
Answer : asp.net .
I guess you also need like:
WHERE [CustomerImages].[ImageId]
= @ID.ToString() + '%'
-->
starts with:
WHERE [CustomerImages].[ImageId]
like '%' + cast(@ID as varchar) + '%'
or contains:
WHERE [CustomerImages].[ImageId]
like cast(@ID as varchar) + '%'
Random Solutions
Block Logme internally
When I ping 192.168.1.4 I get reply from 192.168.1.127
In a excel document is there a way to view two sheets at the same time (i.e. side by side).
permissions to be able to script objects
acronis disk director server 10
How do I register Exchange 2010 with Windows Server Backup on Windows Server 2008 R2
HP z200 Workstation Windows 2008 R2 'PCI serial port' driver and 'PCI Simple Communications controller' driver needed
Cold fusion & SQL CFIF "if variable not present, alt query" problem
Offline address book cannot be downloaded after moving mailbox to exchange 2010
open Firmware