Well..
My problem is likely different than yours. But google led me to this post to solve my problem. I just posted my solution so some other lost soul (other than myself) could find help!
Sera
Sera
I just solved this problem using Tie::File. It was the only way I could correctly insert a new line into a file.
In my case I needed to replace the first line.
use Tie::File;
tie @anArray, 'Tie::File', "afile.csv" or die "can't open";
#Deletes the first line in the file
shift(@anArray)...
Whoa...it is the datatype....
When I do this it works
--note varchar is exactly the the same size as the string
Declare @fileAbbr As varchar(5)
Set @fileAbbr = 'PHEV1'
--returns 105 records
Select * From FileInfo Where FileName Like @fileAbbr + '%'
--returns 105 records
Select * From FileInfo...
Declare @fileAbbr As varchar
Set @fileAbbr = 'PHEV1'
--returns 229 records
Select * From FileInfo Where FileName Like @fileAbbr + '%'
--returns 105 records
Select * From FileInfo Where FileName Like 'PHEV1%'
Sera
Sorry bborissov...I didn't read the whole message.
I dunno what you mean by...create a repro code?
I am really looking for someone to tell me this has happened to them before...and this is why. It really is as simple as my explanation I promise.
The first example returns 24 records
The...
I am getting incorrect results from my query.
If I write the query like this I get too many results:
set @var = 'matchstring'
select * from table where aval Like @var + '%'
If I write the query like this I get the correct results:
select * from table where aval Like 'matchstring%'
....I...
slepnir214 : Yes they do all use "Location" header.
jpadie: interesting idea. It is true that the two machines are vastly different. The 2003 server is most definitely faster than the 2000 server. A race condition is probably occuring. I am sorry if I haven't said it clearly or at all...
Now that sounds promising. He is using header(Location: "someurl.php"). We are not using cookies tho, and I am not really sure how to apply that particular link to our problem. But it does give me somewhere to look.
Jpadie: The code is numerous pages connected to each other. Way too much...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.