Viewing 15 posts - 2,506 through 2,520 (of 3,655 total)
UPDATE updatetble1
SET updatetble1.updatecol1 = updatetble2.updatecol2
FROM updatetble1 INNER JOIN updatetble2
ON updatetble1.joiningcolumn = updatetble2.joiningcolumn
WHERE Yourcondition = Your Value
January 23, 2006 at 12:00 pm
An element is the main tag itself such as <Element>
An attribute is a value within the definition of an element such as <Element MyAttribute="An attribute value" />
January 23, 2006 at 8:52 am
How can I have 0.00632 reads and writes?
January 23, 2006 at 5:18 am
Use SCOPE_IDENTITY because SCOPE_IDENTITY identifies the last identity value for the current scope where as @@IDENTITY identifies the last identity regardless of scope.
January 23, 2006 at 1:46 am
SELECT @@VERSION
SP3 = 8.00.760
SP4 = 8.00.2039
SP4 plus embarrassing fix for memory problem in SP4 = 8.00.2040.
You should be on at least SP3
January 20, 2006 at 5:44 am
If you have an dbo.addOrderLine stored procedure then you could set up a dbo.addOrder stored procedure that accepts the parameters necessary to add an order and a single order line.
Wrap...
January 20, 2006 at 5:19 am
The N'string' thing converts an standard ASCII string to a unicode one.
db_owner is a database role that can do absolutely anything within the database. Destroy tables, alter stored procedures,...
January 20, 2006 at 1:26 am
Doesn't this mean that Excel has to be installed on the server?
If not then wouldn't it be better to break out the task so that one task writes the Excel...
January 19, 2006 at 12:08 pm
Regardless of whether you have used sp_detach_db you can attach the MDF and LDF files.
As ever, backup your MASTER database on your target server before and after the attach.
You will...
January 19, 2006 at 6:46 am
If you have a compound index on cols A,B,C and your where clause contains ColA then it will use the index.
If your where clause doesn't contain A then it won't
January 19, 2006 at 4:17 am
See my article on RAISERROR. It may help
January 19, 2006 at 1:34 am
You could use the sp_OACreate, sp_OAMethod and sp_OAProperty stored procedures to access the Excel object model however I wouldn't recommend it.
Excel does not seem to have the concept of a...
January 19, 2006 at 1:30 am
As an aside I read an article quoting Steve Jobs on the subject of cars.
He was lamenting that the gorgeous concepts you see at a motor show rarely translate into...
January 19, 2006 at 1:20 am
Provided it precedes the tranformation into your txt/xls object it doesn't matter though personally I make it the first task in the DTS.
January 18, 2006 at 2:47 pm
I actually agree with most of the things you say, possibly with the exception of the separating out toilet paper from sewage.
When ever I see a badly designed database supplied...
January 18, 2006 at 2:28 am
Viewing 15 posts - 2,506 through 2,520 (of 3,655 total)