Viewing 15 posts - 8,551 through 8,565 (of 13,469 total)
this gets you the data in a manner where you can look at it; fromt here you can start filtering on your 14 day requirement.
notice how I took the time...
October 19, 2010 at 10:22 am
what happens when you ruin this against your linked server?:
--list all the tables and their names
EXEC sp_tables_ex MyLinkedServerName
October 19, 2010 at 6:43 am
here's one way to do it, using row number to select the batches of numbers;
declare @NumRows int
declare @i int
SET @NumRows = 10 --return 10 rows at a time
SET @i...
October 19, 2010 at 6:37 am
well here's the tables i constructed based on what you posted....but it's incomplete i think.
is a user the same as an employee id? none of the tables share a common...
October 18, 2010 at 7:46 pm
a server side trace can be seen in sys.traces, but does not show up as a spid process the way it would when you run Profiler.
that said, you have some...
October 18, 2010 at 7:24 pm
this works, andrew, but i've got an extra +1 and -1 in the mis that can be cleaned up for the "Descript" column:
/*
BaseFileName ...
October 18, 2010 at 1:56 pm
the CHAR datatype was never part of my original post;
I was trying to find a setting or trick to get Oracle to treat NVL(SomeColumn,'') = '' to behave the same...
October 18, 2010 at 12:09 pm
no need to re-invent the wheel;
starting with SQL 2005, a new function NEWSEQUENTIALID() will return a GUID, but the values are more indexable, as they return items that are...
October 18, 2010 at 9:48 am

clicking "Debug" instead of "Execute" more times than I can count.
October 18, 2010 at 8:38 am
since you mentioned textcopy, here's pair of procedures to help you use it a little easier. I had this saved in my snippets.
In TSQL, you will have to loop thru...
October 18, 2010 at 6:08 am
Kwisatz78 (10/18/2010)
October 18, 2010 at 5:58 am
lots of things to change there;
get rid of the old ansi join syntaxes...
get rid of the deprecated *= joins
adding the logic to split the string into a table
minor syntax...
October 16, 2010 at 4:55 am
GilaMonster (10/16/2010)
Why...
October 16, 2010 at 4:00 am
jaffrey (10/16/2010)
Hai guys,Is it possible, Delete a record without using Delete keyword?
a single record? no...the TRUNCATE TABLE [TABLENAME] command will delete all records in a table. so that deletes records...
October 16, 2010 at 3:48 am
Viewing 15 posts - 8,551 through 8,565 (of 13,469 total)