Viewing 15 posts - 31 through 45 (of 144 total)
but does your check account for the second type of description, where i'm checking for the word WAV or MP3 in the following string? 'for the WAV...
February 13, 2007 at 1:00 pm
Error: Invalid length parameter passed to the substring function.
Incoming ProductDescription is:
'These fully-orchestrated royalty free music tracks invoke the spirit of some of...
February 13, 2007 at 12:49 pm
Interesting approach. Let me ponder that and try it. never thought about doing it this way.
February 13, 2007 at 11:46 am
ok, I'll also work on changing it as well to see if I can still figure this out on my own but for sure if you think you can help,...
February 8, 2007 at 8:26 am
re-looking at this, actually it's not going to give me what I want.
I think you are assuming that a description is either all WAVs or all MP3s which is not...
February 8, 2007 at 7:49 am
Thanks Adrian.
But for a description like this incoming, I don't think your check will check for the 'WAV</a>' right?
‘These music tracks invoke the spirit<br><br><span class='product-name-no-link'>You can also purchase the...
February 8, 2007 at 7:41 am
Adrian,
Thanks a lot. I guess I have a few qustions.
I don't understand this line:
PATINDEX('%for the WAV version of this track%',@ProductDescription) > 0
so basically I think this is saying ensure...
February 8, 2007 at 7:15 am
Jeff, why do you bother replying then. And why do you take that so personally. It was to help you and I get to a and b. I was giving...
February 8, 2007 at 7:08 am
Actually it happened to be a SQL 2000 bug. I had to drop and recreate the stored proc since it was still trying to reference an old DB ID.
Related articles:...
August 23, 2006 at 3:12 pm
I think there is no problem actually after testing more. I think that it is returning the identity of the second insert since the Scope_Identity was placed after the second...
August 16, 2006 at 7:34 pm
Yes, both tables have an identity
Users.UserID - identity column of DB1.Users table
InstantASP_Users.UserID - identity column of DB2.InstantASP_Users table
both databases are on the same server.
August 16, 2006 at 12:10 pm
Refresh, i had posted the wrong code, now look at what I originally had. I tried putting an Identity_scope right after the second insert and it still took the first.
August 16, 2006 at 12:07 pm
>>>IDENT_CURRENT
I know that, I don't want this though, that's too risky. I want only in this scope. There could be another process that performs an insert on that table...
August 16, 2006 at 12:06 pm
That's exactly what I did, but it's still taking the identity of the first insert!!!
INSERT INTO Users (AspNetUserID, Active, CreateUserID) VALUES (@NewUserId, 1, 0)
IF...
August 16, 2006 at 12:04 pm
>>I noticed in the ID/ParentID hierarchy that the first record's ParentID = 1. Is this column nullable
I put 1 because I thought that would be better than just a null...anyway,...
August 1, 2006 at 11:08 pm
Viewing 15 posts - 31 through 45 (of 144 total)