Viewing 15 posts - 271 through 285 (of 352 total)
SELECT DISTINCT so.name FROM sysobjects so INNER JOIN syscomments sc ON sc.id
November 20, 2006 at 1:07 pm
In Visual Studio LAYOUT mode, click the field you want to edit. Viewing the PROPERITES pane, in APPEARANCE, look for the FORMAT setting. Type a 'd' into the setting.
October 25, 2006 at 1:08 pm
convert(decimal (5,2),(sum( datediff (hh,DateCompletedByResearch, ReadyOrShippedByFulfillment))/ 31))
September 20, 2006 at 7:56 am
Resolution -- the concatenation of VARCHAR and INT together caused the error. I was able to resolve this via the use of the "str" implicit conversion. thanks "DUDE".
SET @sql1 = 'Update c_account SET MSA_BB_FootNote ='+Char...
September 13, 2006 at 1:59 pm
neither of these suggestions were syntacticly correct nor did they work..
September 13, 2006 at 1:26 pm
Just ran into a slight glich ---
When the same person updates the row 2 times in succession, won't the 2nd update use SUSER_NAME? We'd need it to continue to use...
August 28, 2006 at 7:04 am
PW -- pure genius.... If I were your boss I'd give you a scholarly bonus..
thanks -- that worked.
August 25, 2006 at 2:34 pm
Almost there... Using your example join of the Virtual tables, I've prepped sample DDL & SQL for use here. In the following SAMPLE, TEST 1 works fine but TEST 2...
August 25, 2006 at 2:14 pm
The VB.NET application passes the variable values to a STORED PROC. The proc performs the UPDATEs.
August 25, 2006 at 10:29 am
thx -- this worked perfect... (now I need a system table housing DTS package contents in text format) !!!!
August 23, 2006 at 10:04 am
This worked:
DECLARE @t_schema varchar(500),
@t_name varchar(256)
DECLARE c1 cursor static for
SELECT Name, 'DBO' FROM sysobjects
WHERE xtype = 'U' AND name LIKE 'Rich%' --AND datediff(day,crdate,getdate())>400
OPEN c1
FETCH NEXT FROM...
August 17, 2006 at 9:42 am
Error:
Msg 214, Level 16, State 2, Procedure sp_executesql, Line 10
Procedure expects parameter '@statement' of type 'ntext/nchar/nvarchar'.
All I want to do is DROP a table dynamically (using a CURSOR...
August 17, 2006 at 9:27 am
Got it.. I needed to ALTER TABLE DROP CONSTRAINT then ALTER TABLE ADD CONSTRAINT
ALTER
TABLE [dbo].[TAB_a] DROP
August 9, 2006 at 9:25 am
Points well taken. There's absolutely no way to fit a DEC (10,4) into a DEC (9,4) without distorting the value. What I wound up doing was implementing a predicate to...
August 3, 2006 at 7:59 am
I think I'll try this: SELECT CAST(-102613.5000 AS DECIMAL(9,3))...
August 2, 2006 at 11:07 am
Viewing 15 posts - 271 through 285 (of 352 total)