Viewing 15 posts - 481 through 495 (of 587 total)
I think David is right, either you are restoring on top of the original database in which case you need the WITH REPLACE option, or you are restoring on top...
September 18, 2008 at 1:28 pm
You're talking about the email report, right? There is a button with a little report icon near the top (to the right of Manage Connections). Click that.
I haven't...
September 18, 2008 at 1:24 pm
Then I think you can either upload the spreadsheet data into a table and do it all in one update query using a join, or create individual update for each...
September 17, 2008 at 2:52 pm
Look up BEGIN TRANSACTION in books online for details and options for using transactions.
So for this specific example:
update Report_T set Cost_AM = 720.00, Total_Cost_RPS_AM = 830.00, EFFECTIVE_DT=getDate() WHERE SK_SEQ_ID=49
The "720.00"...
September 17, 2008 at 1:20 pm
Or maybe you need three more MAX statements. Currently you have MAX(--4 case statements--). If instead you had MAX(case), MAX(case), MAX(case), MAX(case), you would have the 5 columns...
September 17, 2008 at 1:17 pm
Is the cost information stored in another table somewhere where you could link it up using a join? If not, you could use a case statement to bring it...
September 17, 2008 at 12:57 pm
Alright - just have to ask... saving to an SSIS stream was a red-herring thrown in to have another possible answer right? It isn't possible to save profiler traces...
September 16, 2008 at 11:49 am
Glad you got it working. Be careful with the ColumnsUpdated - my experience has been that it returns true if the column was part of the update, not if...
September 12, 2008 at 2:03 pm
I think you select IS returning something and the DOS field is NULL in the record(s) that are returned. If no records are returned, nothing will be inserted (which...
September 10, 2008 at 2:42 pm
No - a full backup does not truncate the log. The log and database backups are somewhat independant. When you backup the log, it will contain all the...
September 10, 2008 at 9:15 am
The order of a result set can only be guaranteed by using an ORDER BY. Although You might be able to get it to "work" again by rebuilding the...
September 5, 2008 at 2:12 pm
How about any child objects (views, triggers, constraints, rules, defaults)?
Chad
September 5, 2008 at 1:18 pm
Good Luck - one last thought before I go. I'm going to go way out here on a guess. Does your Excel sheet have one line for each...
September 4, 2008 at 2:22 pm
Help me out here... is this a decent mock up of the tables in question (some columns removed)?
emp_id
pgb_idName
1Chad
2Frank
3Joe
emp_deduc
pdb_iddeduc_amt_per_deduc
110%
120%
130%
25%
310%
depend_demo
pdb_idName
1Jack
1Sam
2Tealc
2Daniel
Based on this information, there is no way to tell if the 10%...
September 4, 2008 at 1:29 pm
Can you tell me how you know when a particular record in emp_deduc is for a dependant and when it is for the employee? It doesn't look like there...
September 4, 2008 at 12:54 pm
Viewing 15 posts - 481 through 495 (of 587 total)