Viewing 15 posts - 2,266 through 2,280 (of 4,087 total)
Please provide sample data and expected results as outlined in the first link in my signature. Also, do you want to divide it evenly, or is there some weight...
October 10, 2016 at 3:51 pm
bcp doesn't allow you to append data to an existing file.
You have a couple of options. You can output the data to two separate files and then concatenate them...
October 10, 2016 at 3:44 pm
Yes, but are you having trouble getting the information to append to the file or do you have the information and you can't figure out how to append it?
We also...
October 10, 2016 at 1:31 pm
Brandie Tarvin (10/10/2016)
Grant Fritchey (10/10/2016)
No need...
October 10, 2016 at 1:11 pm
Did you check to make sure that the agent has permissions to access the directory where the files are stored?
The last time I worked with SSIS was SQL 2008, so...
October 10, 2016 at 1:00 pm
Chrissy321 (10/10/2016)
My use case is I have daily jobs that are scheduled to run at a specific time. I want to alert when a job did not run.
Your description does...
October 10, 2016 at 12:48 pm
LinksUp (10/10/2016)
October 10, 2016 at 11:10 am
wtren (10/8/2016)
October 10, 2016 at 10:57 am
Sergiy (10/9/2016)
vfn (10/9/2016)
error:Column PupilPersonalDetails.Forename is invalid in the select list because it is not contained in either an aggregate function or the GROUP BY Clause
helllpppp
That's right.
If you want to...
October 10, 2016 at 9:00 am
eandre360 (10/10/2016)
October 10, 2016 at 8:50 am
Y.B. (10/7/2016)
drew.allen (10/7/2016)
October 7, 2016 at 2:11 pm
Try the following.
DECLARE @t TABLE(doc XML)
INSERT @t (doc)
VALUES('
<AUDITS>
<Admin>
</Admin>
<provider_spells />
<Refno>123456</Refno>
<Action>UPDATE</Action>
<Fields>
<old_pmetd_refno></old_pmetd_refno>
<new_pmetd_refno>4110</new_pmetd_refno>
</Fields>
</AUDITS>')
SELECT f.fields.value('old_pmetd_refno[1]/text()[1]', 'INT'), f.fields.value('new_pmetd_refno[1]/text()[1]', 'INT')
FROM @t
CROSS APPLY doc.nodes('/AUDITS/Fields') f(fields)
Drew
October 7, 2016 at 11:17 am
Here is an updated version that only requires a single scan of the table. There is a complete description of the logic at New Solution to the Packing Intervals...
October 7, 2016 at 9:41 am
niall5098 (10/7/2016)
HI There,it looks like sql but is actually text
We said it was XML, not SQL, and XML IS text, but in a very specific format. Even if it's...
October 7, 2016 at 8:43 am
Luis Cazares (10/7/2016)
SELECT *
FROM #tmp
WHERE loginName LIKE '%_._%' --Has a period surrounded by other characters
AND loginName NOT LIKE...
October 7, 2016 at 8:27 am
Viewing 15 posts - 2,266 through 2,280 (of 4,087 total)