Viewing 15 posts - 5,656 through 5,670 (of 5,684 total)
I wouldn't worry as much about values to the right of the decimal, it should round in. It's the ones to the left that'll cause the error. Somehow...
September 3, 2010 at 11:17 am
idea 1: Does the proc return multiple rows when the report does?
Need to see the proc code for any others.
September 2, 2010 at 11:18 pm
Run a WHERE LEN(col) > 4 against the one you're converting to Numeric(4,2). If you don't find anything, Try WHERE CHARINDEX( '.', col) > 3, to see if you...
September 2, 2010 at 11:12 pm
MyStoredProc(
@SearchContains VARCHAR(20)=NULL,
@SearchStartsWith VARCHAR(20)=NULL)
NOTE: Field 'OrderName' is a VARCHAR field
SELECT OrderID, OrderName, OrderValue FROM <table>
WHERE OrderName like '%' + @SearchContains + '%'
or
SELECT OrderID, OrderName FROM <table>
WHERE OrderName like @SearchStartsWith...
September 2, 2010 at 6:18 pm
Where, or how, in this proc is the user actually going to be able to respond to 'liking' the new calculated value?
Transactions that require a user-initiated action to continue to...
September 2, 2010 at 6:00 pm
Steve Jones - Editor (9/2/2010)
You can build a simple SSIS package using the import/export wizard in SSMS.
Yeah, that link above walks you through that as the first step. My...
September 2, 2010 at 4:37 pm
Off a couple of google hits I briefly checked before deciding this one seemed sound:
SSIS: http://www.mssqltips.com/tutorial.asp?tutorial=200
Linked Servers: I'd recommend just using Books Online. They're not that...
September 2, 2010 at 4:21 pm
You're on the right track in both cases. For non real time/overnight updates, you'd build an SSIS job and then schedule it with SQL Agent.
If you need real-time access,...
September 2, 2010 at 3:58 pm
Well, the inner joins are limiting the results. There are custnmbr/docnumber combos existing in RM20101 that aren't in CN20100, and noteindx in RM20101 that don't exist in CN00300.
My first...
September 2, 2010 at 3:54 pm
bkmooney (9/2/2010)
September 2, 2010 at 2:57 pm
SELECT SUBSTRING( @field, CHARINDEX( '~', @field)+1, LEN( @Field) - CHARINDEX('~', @field, charindex('~', @field)+1) -1)
September 2, 2010 at 2:53 pm
Quite possible. Here's the rule:
If you remove the alias in the FROM clause (it looks like [Sheet$1] AS xl or just [Sheet$1] xl) then you need to reference the...
September 2, 2010 at 2:34 pm
WHERE T.Value > 0 OR T.Value IS NULL
Or:
WHERE ISNULL( T.Value, 1) > 0
September 2, 2010 at 2:31 pm
Near the end:
WHERE TestTable.ID IS NULL;
Should be:
WHERE survey.ID IS NULL;
September 2, 2010 at 2:24 pm
Heh, just borrow Wayne's Avatar?
September 2, 2010 at 2:20 pm
Viewing 15 posts - 5,656 through 5,670 (of 5,684 total)