Viewing 15 posts - 5,476 through 5,490 (of 13,468 total)
the data presented formatted as select statements:
SELECT '805880' AS TC_EMPNO,'2012-05-20 22:41:00.000' AS DateTime,'IN' AS PunchType,'1' AS tc_type,'8831916' AS TC_ID UNION ALL
SELECT '805880','2012-05-21 07:15:00.000','OUT','11','8837290' UNION ALL
SELECT '805880','2012-05-21 22:46:00.000','IN','1','8850645' UNION ALL
SELECT '805880','2012-05-22...
May 22, 2012 at 9:42 am
it looks to me like the cursor is calling a stored procedure [STAT_LK.dbo.stat_v3] for each row;
to change this to a set base, wer would need to see the defintiino of...
May 22, 2012 at 7:51 am
still sound slike multiple roles are hitting the user;
i would test as that user and see what roles that login was in;
--see what windows roles the windows user belongs...
May 21, 2012 at 2:45 pm
i think it has to do with applying the logs prior to teh database being marked as ready to use.
that for a big MDF/Small LDF, the restore just has...
May 21, 2012 at 2:20 pm
PradeepVallabh (5/21/2012)
May 21, 2012 at 2:14 pm
i just tested this on my dev server;
i'm just printing some of the data available, which you would do as an email, or logging to an audit table;
you can rollback...
May 21, 2012 at 2:06 pm
I would say you want to take the "how do you eat an elephant" approach: one bite at a time.
1. Make sure the destination database is set to SIMPLE recovery...
May 21, 2012 at 1:51 pm
PradeepVallabh (5/21/2012)
May 21, 2012 at 1:34 pm
because you are putting a function on thee column, SQL has to convert the WHOLE table to give you results.
with a TOP, it can shortcut and convert fewer values...
May 21, 2012 at 11:58 am
Yeah i thought something looked wrong, when he said it's returning 4 values;
ii had to double check myself and test scope identity to prove it returns one and only one...
May 21, 2012 at 10:56 am
Eugene Elutin (5/21/2012)
... We handle upto 200 yottabytes of data per hour....
had to look that one up! Thanks Eugene!
May 21, 2012 at 8:58 am
since it's just this one server,
could it be something like database mail is not emabled, even though you've created the profile?
it sounds like maybe you scripted the database mail settings...
May 21, 2012 at 8:25 am
that would work or not work depending on the data, right vinu?
if the data elements are consecutive numbers, but if they are not, i don't think you get the right...
May 19, 2012 at 5:51 am
MysteryJimbo (5/18/2012)
*cringe*
Sorry. I've seen xp_cmdshell and similar methods like that before. Oooo and a cursor. 🙂
awe come on; whether SSIS or anything else, multiple files requires a...
May 18, 2012 at 2:33 pm
I'll go all devils advocate on the SSIS guys and present a solution i put together for other posts that is all TSQL.
Thsi requires xp_cmdshell to get the list of...
May 18, 2012 at 2:15 pm
Viewing 15 posts - 5,476 through 5,490 (of 13,468 total)