Viewing 15 posts - 181 through 195 (of 514 total)
No matter what you do the time factor is too large.
Sorry, but I don't know of any job scheduler that is capable of starting at the nano second level.
Given the...
January 16, 2008 at 12:29 pm
And one reason that it might appear to be phantom is the schema. If it is owned by something other than dbo, it might not show up if just...
January 16, 2008 at 11:35 am
This will check all databases
EXEC sp_MSforeachdb 'USE ?;SELECT ''?'' as dbname,* FROM sys.all_objects WHERE NAME LIKE ''%cycle%'''
January 16, 2008 at 11:33 am
DECLARE @bob-2 VARCHAR(200)
SELECT @bob-2 = 'robert'
SELECT UPPER(SUBSTRING(@bob,1,1)) + LOWER(SUBSTRING(@bob,2,LEN(@bob)))
SELECT @bob-2 = 'ROBERT'
SELECT UPPER(SUBSTRING(@bob,1,1)) + LOWER(SUBSTRING(@bob,2,LEN(@bob)))
January 16, 2008 at 10:00 am
What fun.
I have worked with both pretty extensively now, but for the past year, it has been almost exclusively SQL Server. Before that it was about 15 years of...
January 11, 2008 at 6:59 am
Got the message about there being 39 possible deductions. FYI, I don't mind you sending me stuff that you don't want to post, but I do want to keep...
December 12, 2007 at 12:10 pm
Here is the same example using a CASE/Group by rather than the pivot.
SELECT t1_id,
MAX(CASE WHEN RN = 1 THEN deduction END) AS Deduction1,
...
December 12, 2007 at 7:31 am
You sent me 4 queries which all could be represented by a view/table where the PK is Empl_ID (Except Deductions)
From your comments You didn't appear to have issue with the...
December 12, 2007 at 7:21 am
Trying to figure out why I wasn't seeing the dups. Not the pivot, the test table
IF(OBJECT_ID('tempdb..#t1') IS NOT NULL) DROP TABLE #t1
IF(OBJECT_ID('tempdb..#t2') IS NOT NULL) DROP TABLE #t2
CREATE...
December 11, 2007 at 12:44 pm
This can also be done with a series of case/group by statements. The pivot however is designed for this situation.
It's not that I don't want to help you with...
December 11, 2007 at 12:37 pm
Based upon what you sent me, I think this is now what you are looking for.
IF(OBJECT_ID('tempdb..#t1') IS NOT NULL) DROP TABLE #t1
IF(OBJECT_ID('tempdb..#t2') IS NOT NULL) DROP TABLE #t2
CREATE...
December 11, 2007 at 12:33 pm
SELECT col1,col2,col3,col4,col5,col6
FROM table1
inner join table2 on table1.personnel_id = table2.personnel_id
Is this what your talking about?
December 11, 2007 at 10:57 am
Steve Jones - Editor (11/28/2007)
I'd recommend auto close before...
November 29, 2007 at 6:20 am
Oh forgot to add.
DO NOT SHRINK YOUR TEMPDB!!!!! this really screws up the whole thing.
November 27, 2007 at 9:45 am
There are no good techniques for preliminary sizing of the tempdb. This is because it's usage has almost no correlation with anything else.
The short answer is this....
November 27, 2007 at 9:43 am
Viewing 15 posts - 181 through 195 (of 514 total)