Viewing 15 posts - 6,076 through 6,090 (of 6,676 total)
Scott Ohar (9/18/2008)
Product : Database Services (MSSQLSERVER)
Product Version...
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
September 18, 2008 at 3:51 pm
That would indicate a priviliges issue - try creating a new job (doesn't have to have anything in it or be scheduled) and see if you get any errors.
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
September 18, 2008 at 2:48 pm
The concatenation operator in SQL Server is the plus sign (+). Change your formula to ([STATE_ID] + [COUNT_ID]).
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
September 17, 2008 at 3:19 pm
I wouldn't say that - I didn't see it the first time through either. 😀
BTW - with that condition I would be verifying the table for DRI and/or triggers...
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
September 17, 2008 at 3:03 pm
Step 1: Import Excel spreadsheet into SQL Server
Step 2: Write update script to use data in imported table
Basic structure of the script would be something like:
BEGIN TRANSACTION;
SELECT * INTO dbo.Report_T_Backup...
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
September 17, 2008 at 2:57 pm
Try running the following query:
SELECT ChargeCodeDE, count(*)
FROM Charge_Code_Fee_Schedule
WHERE EffectiveEndDT IS NOT NULL;
For every row that has a count > 1 - you will have a problem. Now, change...
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
September 17, 2008 at 2:20 pm
Version 9.0.3054 is service pack two with a small patch to fix some problems with maintenance plans. You can find more information at:
http://support.microsoft.com/kb/934458
This contains a link to the update...
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
September 17, 2008 at 2:09 pm
If you cannot see SQL Server Agent, then one of two things comes to mind. Either you are connecting to a SQL Server Express Edition (does not have SQL...
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
September 17, 2008 at 1:39 pm
Well, you didn't include the insert portion of the procedure - but I am not sure that is needed in this case.
My guess is that for some Charge Codes -...
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
September 17, 2008 at 1:36 pm
What you did was show the version of SQL Server that you were connected to. To see the version for your client tools - click on Help | About.
Version...
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
September 17, 2008 at 1:28 pm
Just one note on 'sp_updatestats'. By default, this will update statistics using the default sample rate. If you pass in the parameter @resample = 'RESAMPLE' - then the...
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
September 17, 2008 at 1:21 pm
The database file will not become smaller just because you truncated a table within the data file. If you do not have any issues with disk space - I...
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
September 17, 2008 at 12:21 pm
Look on this site for Tally table and/or Calendar table. Either of those articles will show you how this can be accomplished.
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
September 17, 2008 at 12:15 pm
t-pinto (9/16/2008)
I have an alias for 2 calculations. I would like to filter only those results that are >1000.
Here is my statement.
Select InvoiceTotal,
InvoiceTotal*(.10) as "10%",
InvoiceTotal+(InvoiceTotal*(.10)) as "Plus 10%"
From Invoices
Where...
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
September 16, 2008 at 9:11 pm
Another option (possibly) would be to use synonyms in each database. Part of your script would be a check for the synonym, and if it does not exist -...
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
September 16, 2008 at 9:04 pm
Viewing 15 posts - 6,076 through 6,090 (of 6,676 total)