Viewing 15 posts - 496 through 510 (of 1,124 total)
Carolyn Richardson (2/16/2009)
February 17, 2009 at 12:32 am
Nikhil (2/16/2009)
ya thanks!!!!!!!it is working fine now with temp table
Why to loop around, when you really don't need to?
February 16, 2009 at 11:47 pm
Matt Miller (2/16/2009)
update tblDrawings
set TypeCode = (...
February 16, 2009 at 11:30 pm
Dong Lee (2/16/2009)
I got the same error message that posted earlier.
Server: Msg 170, Level 15, State 1, Line 3
Line 3: Incorrect syntax near '<'.
I ran the...
February 16, 2009 at 9:35 am
Dong Lee (2/16/2009)
Server: Msg 170, Level 15,...
February 16, 2009 at 9:13 am
...Just need to replace GETDATE() with DATEADD( "Day", -1, GETDATE() ) in the expression
February 16, 2009 at 8:38 am
...You can do a REPLACE of such characters with an empty string.
REPLACE( REPLACE(TelephoneNo, "-",""), "/", "" )
February 16, 2009 at 8:33 am
...You missed the ELSE & END part of the CASE statement, it should be like...
UPDATEtblDrawings
SETTypeCode = ( CASE SheetNumber WHEN CHARINDEX( '-', SheetNumber ) <> 0 THEN LEFT( SheetNumber, CHARINDEX(...
February 16, 2009 at 8:28 am
Or you can do something like...
DECLARE @strSQL VARCHAR(MAX)
SELECT @strSQL = COALESCE( @strSQL + '; ', '' ) + Query FROM Table1
PRINT @strSQL
--EXECUTE( @strSQL )
February 16, 2009 at 7:56 am
Since you cannot upgrade to a higher edition, you are choices are limited of using T-SQL functions such as BULK INSERT, OPENROWSET, OPENXML etc...
February 16, 2009 at 7:41 am
...Database Mail is not available in SQL Server 2005 Express Edition
February 16, 2009 at 7:30 am
Nikhil (2/15/2009)
Ramesh (2/14/2009)
February 16, 2009 at 7:15 am
There are lot of articles on SSC on running totals. See the below articles..
http://www.sqlservercentral.com/articles/Advanced+Querying/61716/
http://www.sqlteam.com/article/calculating-running-totals
http://www.sqlservercentral.com/articles/T-SQL/65522/
And also, with SQL 2005, you can do the same using recursive CTE method....
February 15, 2009 at 12:38 am
First, I would like to know why would you need to have a separate tables for the same entity? From this, may be we can help you eliminate incorrect...
February 15, 2009 at 12:05 am
Viewing 15 posts - 496 through 510 (of 1,124 total)