Viewing 15 posts - 316 through 330 (of 7,429 total)
64 bit might be but I cannot attest to that at all. Have you tried using ODBC setup to see if you can see the Oracle Driver?
November 6, 2007 at 1:49 pm
I would use Max on the date for the child table and then join to master, however if I need to understand how to determine precendence of the items to...
November 6, 2007 at 1:22 pm
Unfortunately I am not at work where I can take a look. Send me a private message and I will check my setup tomorrow and see if I can find...
November 6, 2007 at 1:18 pm
1 - 10/01/2007 - 100.00 - Paym
1 - 10/01/2007 - 100.00 -Int
You state
1 - 10/01/2007 - 100.00 - Paym
is the output, what determines which Paym or Int is the one...
November 6, 2007 at 1:10 pm
What options did you use. I had to use customer and pick the ole drviers for windows from the oracle client setup.
November 6, 2007 at 1:09 pm
This is strictly from home.
Some of the motherboards in the last 4 years actually can be polled to determine power consumption. As well, every box I build has only the...
November 6, 2007 at 12:16 pm
Sorry found a typo this is the corrected version 😀
SELECT
dbo.BINTODEC(SUBSTRING(dbo.HEXTOBIN(0x0A0401E4),28,5)) a,
dbo.BINTODEC(SUBSTRING(dbo.HEXTOBIN(0x0A0401E4),15,13)) b,
dbo.BINTODEC(SUBSTRING(dbo.HEXTOBIN(0x0A0401E4),10,5)) c,
dbo.BINTODEC(SUBSTRING(dbo.HEXTOBIN(0x0A0401E4),5,5)) d
November 6, 2007 at 11:42 am
OK combine my HEXTOBIN with Matts BINTODEC functions and you get this as long as you are working with fixed start and stop positions.
SELECT
dbo.BINTODEC(SUBSTRING(dbo.HEXTOBIN(0x0A0401E4),29,4)) a,
dbo.BINTODEC(SUBSTRING(dbo.HEXTOBIN(0x0A0401E4),16,13)) b,
dbo.BINTODEC(SUBSTRING(dbo.HEXTOBIN(0x0A0401E4),11,5)) c,
dbo.BINTODEC(SUBSTRING(dbo.HEXTOBIN(0x0A0401E4),5,5)) d
And if...
November 6, 2007 at 11:34 am
I think the first step we have to address here is converting to BITS (one-byte patterns for each HEX value) so I have this
CREATE FUNCTION HEXTOBIN (@valIn varbinary(100))
RETURNS VARCHAR(8000)
AS
BEGIN
DECLARE @valInPos...
November 6, 2007 at 11:22 am
Sounds like the time I had to try to translate some mainframe data.
Now
from right to left - first 5 bits equal a, next 13 bits equal b, next 5 bits...
November 6, 2007 at 11:00 am
I have to say I have worked with Oracle, 7 and up, SQL Server 6.5 and up, DB2, Sybase SQL Server, MySQL, and a few other lesser ones. All do...
November 6, 2007 at 10:41 am
I am trying to figure out then how you make your conversion to binary (from HEX) and determine your starting position. Can you explain your logic a bit more and...
November 6, 2007 at 10:28 am
HEX is the same as varbinary, in SQL you can load the value like so and convert to int.
declare @x as varbinary(100)
set @x = 0x00280000
select cast(@x as int)
-- demonstartes you...
November 6, 2007 at 9:35 am
SET NOCOUNT ON
DECLARE @A TABLE (A1 int, A2 char(1), A3 int, A4 varchar(10))
DECLARE @b-2 TABLE (B1 int, B2 char(1), B3 varchar(10))
DECLARE @C TABLE (C1 int, C2 varchar(10))
INSERT @A (A1, A2,...
November 6, 2007 at 7:54 am
I personnally do not suggestion using query hints (especially within stored objects like SPs and Views) unless you document why you do it and don't forget to let everyone know...
November 5, 2007 at 2:13 pm
Viewing 15 posts - 316 through 330 (of 7,429 total)