Viewing 15 posts - 4,561 through 4,575 (of 5,111 total)
Are your 0's in the previous lines meant to be empty fields? A 0 in an INTEGER Field is not an empty field. Neither is a blank String ('') an...
January 9, 2017 at 4:28 am
Newbi (1/8/2017)
ALTER PROCEDURE [dbo].[uspInvoiceLines]
(
--@InInvoiceNbr int
@InLinesPerPageint
)
AS
DECLARE @TotalRows int
DECLARE @Remainder int
DECLARE @NumPages int
DECLARE @NextPageRows int
set @TotalRows= 0
SELECT
ROW_NUMBER() OVER( ORDER BY InvProduct)as InvoiceRow,
CoID,
InvNo,
InvProduct,
InvDesc,
InvQuantity,
InvUOM,
...
January 9, 2017 at 2:33 am
Matthew Darwin (1/4/2017)
Beatrix Kiddo (1/3/2017)
I thought that too. I suspect some of those UK salaries are in £ not $. Well, I hope they are: http://www.sqlservercentral.com/Forums/Topic1847126-263-1.aspx
I think some of the...
January 8, 2017 at 4:46 pm
You may struggle to get a proper answer from anyone here as SSC is a SQL Server Community, meaning many people may not have (much) knowledge of many RDBMSs other...
January 8, 2017 at 4:24 pm
I only have VS 2015 installed at home, so if this doesn't work let me know and I'll check when I get to the office tomorrow (I have VS2010 there).
Tools->Options...->Text...
January 8, 2017 at 4:10 pm
If your aim is to continue from a "checkpoint" after a failure, I would suggest 1 of two ideas.
1. Log what you have processed thus far, then, when the process...
January 8, 2017 at 4:03 pm
Ok, so I spent a little time and attempted to turn the OP's sample data into something "usable", which gave me this (which doesn't work):
USE TESTDB;
GO
INSERT INTO VehicleAnalysis_Header
VALUES('2563','CC','P',NULL,'FS','TE WANANGA O...
January 8, 2017 at 2:40 pm
That sample text file really isn't, for lack of a better words, digestible. Looking at your DDL you've got 4 tables, but have combined your Sample data into one table.
You...
January 8, 2017 at 2:24 pm
The error clearly implies that a string in the report, somewhere, it trying to be set to 14px, which is an invalid font size (as it should read 14pt).
When are...
January 8, 2017 at 2:04 pm
I wanted to mention that this table structure doesn't follow 1st normal form?
If this is a database of your own design, I would suggest updating your tables to do so....
January 8, 2017 at 1:24 pm
I wasn't brave enough to open that file on a Windows PCm, however, on my Linux PC was a different story (Gotta love the lack of malware out there, and...
January 8, 2017 at 11:37 am
Phil Parkin (1/6/2017)
WITH cteAS
(
SELECT tbl1.Date, tbl1.ID, tbl1.Order_Amount, tbl2.StoreNum, ct = COUNT(tbl1.id) over(partition by tbl1.id)
FROM tbl1 right join tbl2
ON tbl1.ID = tbl2.ID
)
SELECT * FROM cte
WHERE ct > 10
I suspect the...
January 6, 2017 at 2:47 pm
I'm assuming that the query you provided is not your query which isn't running, as that's fine.
I don't think that using a variable is really the answer you need. Are...
January 6, 2017 at 1:38 pm
Sounds like the same issue in the topic here: http://www.sqlservercentral.com/Forums/Topic1847487-3740-1.aspx
There's a link to the drivers the link.
January 6, 2017 at 10:10 am
That's the missing piece of information we needed 🙂
Does this work for you?
Update DP
SET DP.ProjectNumber = DP2.ApplicationNumber
FROM dbo.tblDataPermit DP
JOIN dbo.tblDataPermit DP2 ON DP.RefNo = DP2.RefNo
WHERE...
January 6, 2017 at 7:54 am
Viewing 15 posts - 4,561 through 4,575 (of 5,111 total)