Viewing 15 posts - 2,026 through 2,040 (of 2,458 total)
akirajt (11/19/2013)
1. What component in SSIS do I need to retrieve the XML file, using API connection?
You can use the SSIS XSLT task. It is not well documented but here...
November 19, 2013 at 12:18 pm
dastagiri16 (11/19/2013)
I have a table class
classname section Marks
-------------------------------------------
first a ...
November 19, 2013 at 11:36 am
Keeping in mind that maintenance plans are SSIS packages you could start here: Importing and Exporting Packages.
In SQL Server 2008 Your maintenance plans usually live in msdb.dbo.sysssispackage.
FYI: This...
November 19, 2013 at 9:23 am
ahperez (11/14/2013)
November 14, 2013 at 3:05 pm
First, here's the problem (looking at the 45 sec plan):
This looks like parameter sniffing; your cardinality estimates are messed. Your query is scanning an index that has 5M+ rows to...
November 14, 2013 at 2:56 pm
Edward Boyle-478467 (11/14/2013)
If OBJECT_ID('TEST_procedure','P') is not Null Drop procedure TEST_procedureGo
create procedure TEST_procedure
@exampleid XML
as
update tablea
set text_field = 'Y'
where
example_id in (Select x.value('(.)','varchar(100)') from @exampleid.nodes('/List/Field/text()') as x(x))
Go
If object_id('tablea') is Not Null Drop...
November 14, 2013 at 8:53 am
subbareddy542 (11/13/2013)
first can u create one function to use below code.
CREATE FUNCTION SPLIT(@VAL VARCHAR(MAX))
RETURNS @T1 TABLE(COL1 VARCHAR(MAX))
AS
BEGIN
WHILE CHARINDEX(',',@VAL)>0
BEGIN
INSERT INTO @T1 VALUES(SUBSTRING(@VAL,1,(CHARINDEX(',',@VAL))-1))
SET @val=SUBSTRING(@VAL,(CHARINDEX(',',@VAL))+1,LEN(@VAL))
END...
November 13, 2013 at 7:33 am
It sounds like you are trying to do a drill-through report. This should get you started:
November 12, 2013 at 9:42 pm
Dhruvesh Shah (11/12/2013)
I have a table as per below.
CREATE TABLE #TEMP
(
ID NVARCHAR(200) NOT NULL,
SIMNO NVARCHAR(200) NULL,
IMEI NVARCHAR(200) NULL
)
iNSERT INTO #TEMP VALUES ('0412345678','0412345678','013275009174916')
iNSERT INTO #TEMP VALUES ('013275009174916','0412345678','')
iNSERT INTO...
November 12, 2013 at 9:20 pm
Shaun2012 (11/12/2013)
November 12, 2013 at 1:14 pm
Paul Treston (11/11/2013)
I'm currently working on extracting a load of xml elements out of a dynamic blob of xml. I have over 100 columns nailed down but 1 column...
November 12, 2013 at 8:27 am
Shadab Shah (11/11/2013)
I am trying to get my hands dirty with XML in SQL Server. I have tried MSDN and some other links which google suggested but i think...
November 12, 2013 at 7:51 am
Using DelimitedSplit8k (link in my signature), you could accept a delimited list like so:
use tempdb;
-- create tablea for demo
IF OBJECT_ID('tempdb..tablea') IS NOT NULL drop table tablea;
CREATE TABLE tablea(id int identity...
November 11, 2013 at 5:30 pm
timvil (11/11/2013)
However I didn’t get it to work. Maybe problem is in Column1 data type, it is ntext. I read somewhere that it couldn’t be...
November 11, 2013 at 3:45 pm
First, in the future try including your sample data like this:
DECLARE @Store TABLE (s_yr int, s_mo tinyint, storeName varchar(10))
DECLARE @Store_Sales TABLE (s_yr int, s_mo tinyint, storeName varchar(10), NumberOfSales int)
INSERT...
November 11, 2013 at 3:23 pm
Viewing 15 posts - 2,026 through 2,040 (of 2,458 total)