Viewing 15 posts - 5,926 through 5,940 (of 7,636 total)
Not sure about the rest of it, but the CAST(Varbinary as Varchar) Injection trick has been around for at least 3 months. There are several instances reported here from...
August 14, 2008 at 8:13 am
On the other hand you are right about how to finesse the Fencepost error out of the string concatenation. I couldn't remember how to do it, which is why...
August 14, 2008 at 7:52 am
Peso (8/14/2008)
Add this sample data
union all
SELECT 205,null,'',null,''
Actually, your examples are out-of-spec Peso and make two additional assumptions: First you assume that zero-length strings are permitted in the first place....
August 14, 2008 at 7:38 am
Glad I could help.
August 14, 2008 at 6:24 am
I think that SD is looking for something less than that, John.
Try this:
Select 'Set No '+SetNo+ ': '
+ CASE When Reasons='' Then ''
When Left(Reasons,1) = ',' Then Substring(Reasons,2,Len(Reasons))
Else Reasons
End as...
August 13, 2008 at 6:25 pm
natalia.rodchenko (8/13/2008)
As I understood, I must call stored procedure with exact string, like 'AUSTRALIA',...
August 13, 2008 at 2:51 pm
The ways that I know of to do this:
1. Disabled WHERE clauses: This is what you currently have and you and antonio were discussing. Problems: parameter-sniffing and...
August 13, 2008 at 2:42 pm
Looks like it should work. What problem are you having?
August 13, 2008 at 11:07 am
OK, this is almost certainly something in your app and/or on the client-side and not in SQL Server itself. Can you show us your connection string and ADO.net connection...
August 13, 2008 at 7:54 am
The problem is that it is not clear what timeout timer is coming into play here. You already said that you had set all of the timeouts to 0...
August 13, 2008 at 7:00 am
Glad I could help.
August 13, 2008 at 6:53 am
Jeff Moden (8/12/2008)
Must be the funny hat you wear or something... go back to just plain tinfoil.:P:D:)
Tinfoil does block the mind control transmissions better but just doesn't inspire the same...
August 13, 2008 at 5:50 am
Attempt #1 seems right to me. What is "not right" about it and how do you know that it is wrong?
August 12, 2008 at 9:10 pm
Ken Simmons (8/12/2008)
August 12, 2008 at 4:30 pm
Viewing 15 posts - 5,926 through 5,940 (of 7,636 total)