Viewing 15 posts - 19,486 through 19,500 (of 26,490 total)
I have to agree with John here. Don't waste your time learning more about cursors. Take what you have written and develop a set-based solution to the problem....
July 29, 2009 at 10:08 am
Please tell me that you ARE NOT using this cursor-bassed code in a production environment and that it is simply for your own edification.
July 29, 2009 at 9:42 am
sjsubscribe (7/28/2009)
Lynn Pettis (7/28/2009)
Freedom of something does NOT equate to Freedom FROM something.
You would certainly be considered a disruptive force in an orderly society that protects freedom of speech. Here...
July 29, 2009 at 9:26 am
mtucker (7/28/2009)
Lynn Pettis (7/28/2009)
July 28, 2009 at 9:34 pm
mtucker (7/28/2009)
camassey (7/28/2009)
@mtucker, I don't think any of these qualities necessarily comprise maturity in and of themselves, but...
July 28, 2009 at 7:03 pm
What did you get when you tried it?
When I ran this:
DECLARE @Var int
IF @Var IS NULL
SELECT 'It Works'
ELSE
SELECT 'Nope'
it returned It Works on my system at home.
July 28, 2009 at 6:53 pm
Are you running this from BIDS in debug mode? If so, on your desktop system or the server? Is the file located on you desktop or the server?
July 28, 2009 at 4:03 pm
torpkev (7/28/2009)
SELECT SERVERPROPERTY ('edition') as [Product Edition]
64 Bit should say Standard Edition (64 Bit)/Enterprise Edition (64 Bit) in the text, 32 bit will just say Standard...
July 28, 2009 at 4:01 pm
Youri S. Pikulin (7/28/2009)
The copy size is about 80 MB, even with an (empty) ntext column. So, this is a work-around (copy, drop original, rename copy)....
July 28, 2009 at 3:49 pm
Now you added another table to the mix. Is Table2 used else where in this procedure?
July 28, 2009 at 3:42 pm
Actually, the error message isn't really helping here. The real problem is that we can't see your package to determine what may be wrong. Start where Alvin suggested...
July 28, 2009 at 3:39 pm
Something like this?
select
ISIN,
Ticker
from
#TestTab
where
len(Ticker) >=5
and (Ticker like '% %' or Ticker...
July 28, 2009 at 3:36 pm
Might be E3L (or ETL, but then that might be cofused as something else), English as 3rd Language; as opposed to ESL, English as Second language.
July 28, 2009 at 3:19 pm
I'm sorry but the second INSERT into Table1 has me totally confused. First, there is a typo as both instances of Table1 are aliased a. Second, it doesn't...
July 28, 2009 at 3:13 pm
Okay, that's your data, but what does the table look like, what is the output from the query supposed to look like?
July 28, 2009 at 3:07 pm
Viewing 15 posts - 19,486 through 19,500 (of 26,490 total)