Viewing 15 posts - 8,221 through 8,235 (of 13,469 total)
easy fix: once you aliased #example, you have to use that alias everywhere:
update ex -- the table that will be updated's alias.
set Status = 1
from...
January 12, 2011 at 10:20 am
yeah, it doesn't add buttons to the titlebar of a form; it just sintercepts specific keystroke command sand calls the windows API's to fiddle with the widnow size.
i found that...
January 12, 2011 at 10:18 am
you got me curious with this, and i found SecondShell
clicking ALT and mousedrag makes any window stretch in the direction of the alt+drag, and there are programmable hotkey sequences...
January 12, 2011 at 8:37 am
david.alcock (1/11/2011)
Yes it may be painful...
January 11, 2011 at 2:43 pm
i think if you create a role, you can GRANT EXECUTE TO YOURROLE, but that grants execute on all functions as well.
CREATE ROLE [ReallyReadOnly]
GRANT EXECUTE TO...
January 11, 2011 at 1:55 pm
nope, it's free distributable:
The Report Viewer Control is a free control provided by Microsoft to display reports on a web page or windows form. To add the Report Viewer...
January 11, 2011 at 11:58 am
well, my two cents:
I have no problem using it for production or anywhere else. It exists in 2005,2008/R2 and Denali/V11 as well... so anything I incorporate using that would...
January 11, 2011 at 11:11 am
your data in a format anyone can use in SSMS to look at the problem properly:
SELECT '1' AS VehicleID,'Honda' AS CarName,'Smith' AS VendorName,'20' AS Quantity,'25000' AS Price UNION ALL
SELECT '1','Honda','Ross','30','20000'...
January 11, 2011 at 6:53 am
I'd like to take a stab at this one; i've got a lot of examples I post to the forums on the subject.
January 10, 2011 at 2:44 pm
it depends on your data.
if you are absolutely sure there are only two spaces in the field for every single record, you could use something like CHARINDEX2 and substrings to...
January 10, 2011 at 8:31 am
Msg 7399, Level 16, State 1, Line 1
The OLE DB provider "MSDASQL" for linked server "AS400" reported an error. The provider reported an unexpected fatal error.
Message 7330, Level 16, State...
January 10, 2011 at 6:04 am
your probably doing it right.
The important thing to remember about sp_executesql is that it is susceptible to SQL Injection. since using parameters defeats that security hole, simply using params everyplace...
January 10, 2011 at 5:58 am
Koen (da-zero) (1/10/2011)
At first glance this seems like a situation that the MERGE statement could handle.
I agree with Koen, a MERGE statement would work perfectly...only problem I forsee is the...
January 10, 2011 at 5:50 am
kind of... you can use this example to put together jsut a final script that executes a varbinary(max) ...so the proc body is not so obvious.
just remember that SQL Server...
January 10, 2011 at 5:33 am
a datatable in .NET has a flag on each row that signifies whether the row has been changed;
typically at our shop, we test a datatable,(usually from a types dataset, but...
January 7, 2011 at 12:34 pm
Viewing 15 posts - 8,221 through 8,235 (of 13,469 total)