Viewing 15 posts - 6,601 through 6,615 (of 7,429 total)
Try pivoting first then add.
SELECT
[ID]
((AA+CA)-(DA+DB+EA)) AS MyCalc
FROM (
SELECT
[ID],
SUM(CASE CODE WHEN 'AA' THEN Amount ELSE 0 END) AS AA,
SUM(CASE CODE WHEN 'CA' THEN Amount ELSE 0 END) AS CA,
SUM(CASE CODE WHEN...
April 1, 2002 at 3:06 pm
Great to hear.
"Don't roll your eyes at me. I will tape them in place." (Teacher on Boston Public)
April 1, 2002 at 3:01 pm
Could be locking and not releasing in a timely fashion. I could not find details on this but I do know that it does lock the data it is pulling...
April 1, 2002 at 3:01 pm
Do this all the time to seperate read tables from read/write tables and have never had an issue with single Backup file (Just test them periodically to make sure no...
April 1, 2002 at 2:51 pm
This is a good place to start and there is a link for Enterprise Edition datasheet at the bottom http://www.microsoft.com/sql/evaluation/overview/default.asp
"Don't roll your eyes at me. I will tape them in...
April 1, 2002 at 2:48 pm
Most Painless yet, but always backup your data as Steve states, because anything could happen when least expected.
"Don't roll your eyes at me. I will tape them in place." (Teacher...
April 1, 2002 at 2:46 pm
Try this, I did change a bit to conform more to TSQL format and hopefuly make easier to read. This should handle it.
SELECT
a.call_id,
uc.customer_name,
a.call_status_value,
dateadd(second, a.status_time_stamp,'1/1/1970 12:00:00 pm')...
April 1, 2002 at 1:07 pm
This is called a pivot table which if is unknown number then there is a piece of code I post in scripts you can use as a blue print to...
April 1, 2002 at 12:59 pm
The use
SELECT DATEADD(seconds,DateFld,'1/1/1970') AS dateoutput FROM TableX
"Don't roll your eyes at me. I will tape them in place." (Teacher on Boston Public)
April 1, 2002 at 12:52 pm
Or
SELECT replicate('0',7-LEN(field1)) + CAST(field1 AS VARCHAR(7)) as field1 from the_entity
but you will need to cast field1 to a varchar to make sure concatination does not come up a numeric...
April 1, 2002 at 12:51 pm
It may be due to the account you are using to connect to the servers in EM. Check your registration properties for how you are connection to both and make...
April 1, 2002 at 9:14 am
Can you post the code you are using and the paramteres of the Oracle Procedure. Also I don't know of a way you can create the variable for oracle to...
April 1, 2002 at 9:08 am
Yes, it is similar to return a concatination, a null in any value will return a null. I am sure that it uses the same check mechanism.
"Don't roll your eyes...
April 1, 2002 at 9:02 am
Check out "INF: Network Encryption Available Using the Multi-Protocol Net Library (Q132224)" at http://support.microsoft.com/default.aspx?scid=kb;en-us;Q132224
"Don't roll your eyes at me. I will tape them in place." (Teacher on Boston Public)
April 1, 2002 at 7:59 am
Check out "PRB: "Unspecified error" Error 7399 Using OPENROWSET Against Jet Database (Q296711)" at http://support.microsoft.com/default.aspx?scid=kb;en-us;Q296711
"Don't roll your eyes at me. I will tape them in place." (Teacher on Boston Public)
April 1, 2002 at 7:56 am
Viewing 15 posts - 6,601 through 6,615 (of 7,429 total)