Viewing 15 posts - 12,271 through 12,285 (of 13,461 total)
something like this might get you closer to where you want to go... the fines are calculated, as well as the days delayed.
create table Borrowers(
MemberID int,
ItemID...
October 18, 2007 at 8:55 am
you'll have to save the winners in a table somewhere, in order to exclude them.
create table PreviousWinners(id int, Sample varchar(10))
select T1.ID,T1.Sample,MAX(RND) from T1,
Left Outer Join PreviousWinners on T1.Id=PreviousWinners.Id AND T1.Sample...
October 18, 2007 at 8:27 am
i don't think you can use a calculated column in this case, because the penalty amount resides in a different table(P as Penalty Table) than the items that determine the...
October 18, 2007 at 5:50 am
no i don't think your missing anything; an encyption method is a style to do it back and forth, but the actual implementation is not going to be the same...
October 18, 2007 at 5:07 am
The DBA Toolkit found here on SqlServerCentral includes an extended stored procedure for the blowfish encryption method:
http://www.sqlservercentral.com/articles/Security/sql2000dbatoolkitpart1/2361/
you could give that a try; it may or may not work; for example,...
October 18, 2007 at 4:28 am
you forgot the single quotes...
IF @TmpString NOT LIKE '[0-9]'
or if it was part of a large string, you'd add percent signs for the wildcard matches:
IF @TmpString NOT LIKE...
October 17, 2007 at 9:05 pm
can't you test with two clauses in the WHERE statement for a match, and also that it doesn't have the trailing word after it? you need to take the spaces...
October 17, 2007 at 7:37 pm
Luke identified that it's no problem running it concurrently.
i call it ugly search becauuse it's not something you want production users to use, and image you have a 12 million...
October 17, 2007 at 2:12 pm
this might help;
i create a proc i called "uglysearch" which searches every varchar,char,nvarchar and nchar column for a string.
it returns the table and column, as well as the sql to...
October 17, 2007 at 1:19 pm
there's no builtin search specific to the cliptext window, but the file of snippets you collect is saved in the \EditPlus 2\ folder as a text file ending in .ctl,...
October 17, 2007 at 11:11 am
hope this helps...this is the model i use for find and replace in text fields.
in this case, the sample is replacing a relative HTML link witha full http: link,...
October 17, 2007 at 5:21 am
can you paste the query as text here as well? it helps to be able to see that as text and not as an image in order to help better.
October 16, 2007 at 12:54 pm
lol encrypting is a good answer. way to go!
October 16, 2007 at 10:30 am
there's an excellent stored proc called sp_generate_inserts Written byNarayana Vyas Kondreddi
he's got one for 2000 and 2005 and it generated statements like...
October 16, 2007 at 10:29 am
you can use the table value function as a joined table or as an in() statment as well, if it's not obvious: i used a #tmp table,b ecause you might...
October 16, 2007 at 7:18 am
Viewing 15 posts - 12,271 through 12,285 (of 13,461 total)