Viewing 15 posts - 12,286 through 12,300 (of 13,465 total)
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
i think what you are asking for is exactly what full text indexing actually does.
it creates the word list for you, maintains an editable list of noise words, and handles...
October 16, 2007 at 5:07 am
Sergiy you've got a lot of experience; if you were starting from scratch, how would you handle an email notification requirement?
I'm sure I have developer tunnel vision with an email...
October 15, 2007 at 9:21 pm
also to follow up on this part of your question:
Say I enter a record on 10/15. On 10/21 at at 12:00 am what happens to the table so that my...
October 15, 2007 at 7:07 pm
well, here's what i would suggest; instead of tracking 5/10/20 day, lets keep the emailID of the email you sent because somethign was 5 days old.
[font="Courier New"]
CREATE TABLE tblTest
(
ID INT...
October 15, 2007 at 6:55 pm
Sergiy (10/15/2007)
You need trigger to populate that table.
i disagree that a trigger is needed; part of the scheduled job should be doing a query like this:
select * from tbltest where...
October 15, 2007 at 5:58 pm
the convert() function has some special formats when converting date time...the format 112 is what you are looking for:
declare @cmd varchar(255)
SELECT CONVERT(VARCHAR,getdate(),112) + '.txt'
SELECT @cmd='osql -E -S Servername -i d:\query.sql...
October 15, 2007 at 3:37 pm
Hi Greg;
remember that a trigger needs to just handle data, and not do business logic like sending an email...an email might take 5 seconds to actually finish doing the handshake...
October 15, 2007 at 2:14 pm
if you even suspect someone is making changes without permissions, you should simply change the password(s) (probably for sa..developers connecting on production as sa a possiblity?)
then create a new role,...
October 15, 2007 at 1:40 pm
i'm not sure why it jumps to scientific notation...wierd.
this works, it's simply a double cast/do the same with convert:
DECLARE @fl AS FLOAT
SET @fl = 789512385
SELECT cast(CAST(@fl AS bigint) AS varchar(50))
October 15, 2007 at 1:05 pm
i'd go with Michaels suggestion. don't display the date at all. either print something like 'xx/xx/xxxx', or don't display it. munging it into the number of seconds, or turning it...
October 15, 2007 at 12:59 pm
take look at this link;
http://www.sqlteam.com/article/using-bulk-insert-to-load-a-text-file
basically, they are using dblquote-comma-dblquote as the field delimiter, and dblquote-slash-n as the row terminator.
that just leaves removing the preceeding dbl-quote for cleanup.
October 15, 2007 at 12:03 pm
Viewing 15 posts - 12,286 through 12,300 (of 13,465 total)