Viewing 15 posts - 151 through 165 (of 171 total)
Interessante, eu também tenho uma UDF que recebe uma string com valores separados por um caractere qualquer e retorna os valores na forma de uma tabela.
Muito semelhante à função Split...
January 23, 2012 at 5:02 am
I dont like triggers but they are usefull for auditing, for example. I prefer to maintain only one trigger/table where the triggers exists just to call a bunch of SP....
November 18, 2010 at 1:45 pm
In my case nop. Just a trying some ideas to figure out how to make a static select using dynamic ordering in columns of different types (datetime, varchar, int) using...
January 14, 2010 at 3:14 pm
The -1 multiply dont works when there are varchar columns. I tried and orderind desc results in a near random list
January 14, 2010 at 12:37 pm
Thank for the posts guys.
I managed to implement a log and think i found the problem: timeouts is another trigger at the same table.
Now i ill try to implement a...
September 5, 2008 at 11:31 am
Nop,
Its a .NET application running as a service and scaning a input folder for files.
Its reads any .TXT files in the input folder to populate a lot of "stage" tables.
After...
September 4, 2008 at 3:13 pm
Nice work guys!
Vladan,
yep, I wondered about a case in the where clause. Why not?
GilaMonster,
Great! I can keep the original SP and make 2 news SPs in that context.
It´s pretty good...
June 17, 2008 at 12:30 pm
My definition of CHEAT is: No to follow the rules u have accepted.
If you enter a course you must accpet the school rules.
If the exams rules are ok its another...
May 3, 2007 at 8:24 am
One more point...
May 2, 2007 at 1:50 pm
Dude,
this join ´ll work work fine for most instances, but put a row in T2 where F1 is null and u ll got a real problem.
select *...
April 24, 2007 at 5:14 am
If u just want to return n rows from a table (or view, etc) at random u can use the newid() approach wich a temp table.
set nocount on
select newid() as...
February 22, 2007 at 7:46 am
I´m a developer in a no dba environment. I fell like a passenger in a plane where the pilot is missing and try to avoid a crash.
Yesterday I helped a...
October 27, 2006 at 6:30 am
I´m a developer (with basic DBA skills) working at a medium size IT company in Brazil. Firts I´m surprised to see in u.s. 35-37.5 can be the standart hour/week contracted while...
September 8, 2006 at 12:15 pm
Very good, a pretty thing to read after a full day of hard work.
September 4, 2006 at 2:28 pm
To avoid single quoted problems make sure to validate the input. Use of single quotes is a well know SQL inject attack used from hackers. Try replace each single quotes for...
July 4, 2006 at 4:45 am
Viewing 15 posts - 151 through 165 (of 171 total)