Viewing 15 posts - 9,616 through 9,630 (of 10,144 total)
David Jackson (9/5/2008)
September 5, 2008 at 7:27 am
[font="Courier New"]DROP TABLE #Temp
CREATE TABLE #Temp ([Code] VARCHAR(6), [Panel No] INT, [Bay No] INT, [Closing Code] CHAR(1), [Test Product] VARCHAR(3), [Oil Quality] INT)
INSERT INTO #Temp ([Code], [Panel No], [Bay No],...
September 5, 2008 at 7:07 am
Something like this will do it. You may have to fiddle with the token size and the match level cutoff to match your data.
[font="Courier New"]-- Create some sample data
CREATE TABLE...
September 5, 2008 at 5:43 am
Hi Robero
Thanks for the feedback. I would however read very carefully the wise words of GSquared, he's absolutely right. If you are in a position to alter your schema at...
September 5, 2008 at 2:19 am
Hi Robero
Looks like you've got a little confused with SQL Servers' proprietary variable update, typically used for running totals and other operations where sequential data is updated according to values...
September 4, 2008 at 12:56 am
I reckon your join columns are nvarchar and int...and there's an nvarchar value too big to implicitly cast as an int...
September 3, 2008 at 9:42 am
Bill Mell (9/3/2008)
The Datetimex, RecID and ID columns are in one table, the HandleID in another.
The tables are...
September 3, 2008 at 9:23 am
Bill Mell (9/3/2008)
the number is to large for an int.
I would think the important issue would be...
September 3, 2008 at 9:12 am
Bill Mell (9/3/2008)
Just tried dropping and recreating the view - same issueBill
Is it a partitioned view? Or to put this another way, are the values for RecID from one table...
September 3, 2008 at 9:07 am
Have you tried dropping and recreating the view?
September 3, 2008 at 8:57 am
Bill Mell (9/3/2008)
select @test-2 = MAX(RecID)
FROM DBO.DATAVWOBJACCESSINFO
WHERE DATETIMEX <= '9/2/2008 10:45:03 AM' AND HANDLEID = 2964 AND ID = 567
select @test-2
This fails every time, The RecID...
September 3, 2008 at 8:38 am
Bill, can you please post some or all of your query? It's impossible to deduce why an nvarchar value is being converted (to whatever) from what you've posted.
BOL states that...
September 3, 2008 at 8:23 am
The spreadsheet sample of how you want your data to look shows one output per role, and one output not associated with any role.
What is your logic for deciding which...
September 3, 2008 at 4:03 am
Check that this matches the query you posted, which was a little garbled:
[font="Courier New"]SELECT headcountdec.StaffNo, headcountdec.CallName, headcountdec.Surname, headcountdec.BranchID, headcountdec.Branch,
jpRoles.Role,
jpOutputs.Output, jpOutputs.Weight, jpOutputs.Activities
FROM jpRoles
INNER JOIN jpProfileRoles
...
September 3, 2008 at 3:08 am
Jeff Moden (9/2/2008)
September 3, 2008 at 2:21 am
Viewing 15 posts - 9,616 through 9,630 (of 10,144 total)