Viewing 15 posts - 1 through 15 (of 36 total)
Hey,
i was editing the script, now i get this error:
script:
;WITH Estimates AS
(SELECT nh.id,nh.parent_id,nh.name AS 'PLAN',Levelnodes=1,
Jerarquia = CAST('\'+CAST(nh.name AS VARCHAR(200)) AS VARCHAR(MAX))
FROM testprojects tproy
INNER JOIN testplans tplan ON tproy.id=tplan.testproject_id
INNER...
August 29, 2013 at 3:49 pm
Thanks.
I modified the script a bit and doesn't generate errors:-), but isn't listing the desired result .. please see document attached (img_1/DataExample.txt). If you can see the nodes_level with hierarchy..
Please...
August 29, 2013 at 2:48 pm
ok I get it on the NOLOCK. Thanks.
@alan.B
your query give me this error:
Invalid object name 'Estimated'. 🙁
August 29, 2013 at 1:55 pm
The select of this UI is a PIVOT statement.
with the query att. the perfomance is OK, and if i handle by the UI i have the read 1 record by...
March 26, 2012 at 2:11 pm
Dependin of the column "Nivel",
if that have a value of 1 or 2 or 3 the columns 'A','B','C','D' must be empty,
March 26, 2012 at 1:26 pm
That data r results from a dynamic query,
well that result i input to a temporary table, and then i made a update.
my test query:
DECLARE @sql NVARCHAR(MAX)
DECLARE @colCampoREPLACE ...
March 26, 2012 at 1:15 pm
Hmm, can u prove it?, i mean,
do you have an example and probe it what you say?
February 9, 2012 at 8:06 am
but he can insert the csv file into a table variable and then manipulate the data
February 9, 2012 at 7:47 am
Like this:
select * from OpenRowset('MSDASQL', 'Driver={Microsoft Text Driver (*.txt; *.csv)};
DefaultDir=C:\External;','select top 5 * from
Mytext.txt')
Or try this:
OPENROWSET('Microsoft.Jet.OLEDB.4.0',
'Text;Database=C:\External',
'select * from TRANS.csv')
select top 50 * FROM OPENROWSET('Microsoft.ACE.OLEDB.12.0','Text;Database=c:\temp\captell;HDR=Yes;FORMAT=Delimited(;)', 'SELECT...
February 9, 2012 at 7:33 am
Viewing 15 posts - 1 through 15 (of 36 total)