Viewing 15 posts - 16 through 30 (of 86 total)
Hi Keith
I am now faced with a new error
Error = [Microsoft][SQL Server Native Client 10.0][SQL Server]Invalid column name 'newtable'.
even though that is the name of the table and not a...
November 13, 2013 at 4:03 pm
Hi Again
The sum does not work because it is actually a nvarchar column. Is there a way around this
SELECT ProductName,
ProductVersion,
SoftwareManufacturer,
SUM( DISTINCT Installations),
Licensable
FROM newtable where productname...
November 7, 2013 at 4:38 pm
Sorry but that doesn't work
I put
SELECT softwaremanufacturer,productname, productversion, count(installations) as TotalInstalls, Licensable
FROM
(SELECT DISTINCT softwaremanufacturer,productname, productversion,Licensable from newtable)
GROUP BY softwaremanufacturer,productname, productversion, Licensable
and it says
Msg 156, Level 15, State 1, Line...
November 7, 2013 at 4:02 pm
ok thanks for the update, the query works but yes I agree, i will speak to the powers that be, thanks again all
September 15, 2013 at 8:59 pm
hi there
this just comes up with an error saying incorrect syntax near the keyword from
September 8, 2013 at 5:47 pm
Hi There
Thanks for your reply this looks more like it but I am receiving an error saying
Msg 10713, Level 15, State 1, Line 19
A MERGE statement must be terminated...
August 28, 2013 at 4:12 pm
the softwaremanufacturer,productname and productversion do not match in the lookuptable so it wont update with unknown,
thats what I meant to say if there is not a match in...
August 28, 2013 at 3:58 pm
No that does not work, it has updated all licensable columns to unknown and nulled the software manufacturer,productname and productversion
please advise
August 28, 2013 at 3:42 pm
that last query returns results even if the category is null
August 25, 2013 at 3:41 pm
in the datalookuptable there are 291406 rows
so when i search for licensable products I get
select n.*,d.category
from newtable n
join datalookuptable d
on n.softwaremanufacturer = d.amended_sw_manufacturer
and n.productname = d.amended_product_name
and n.productversion = d.amended_product_version
and d.category...
August 22, 2013 at 5:53 pm
Hi Errland
I have just actually posted a query regarding this.
I have just done that but my query seems to return to many rows eg
select count(*) from dbo.newtable
returns 600,00...
August 22, 2013 at 4:11 pm
hi there
i cant add an id column as the dbo.newtable is created dynamically from spreadsheets
please advise
August 22, 2013 at 3:44 pm
ive looked into that and I have no idea what to do
August 20, 2013 at 11:31 pm
Hi SSCrazy
Yes i know but this still does not answer my question on how I actually get this in the right output format, at present it is showing
,endeffectivedate
,starteffectivedate
...
August 18, 2013 at 6:27 pm
Hi SSCrazy
yes i know but this still does not answer my question as to how to concatenate this together my query is showing
,endeffectivedate
,starteffectivedate
from newtable
select softwaremanufacturer,productname,productversion
which is invalid
it...
August 18, 2013 at 6:14 pm
Viewing 15 posts - 16 through 30 (of 86 total)