Viewing 15 posts - 6,001 through 6,015 (of 7,164 total)
What is the real world problem you are trying to solve?
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
June 19, 2011 at 3:43 pm
Please have a look at what Dave posted. A scalable solution is there for the taking. Hint: look for the function DelimitedSplit8K.
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
June 19, 2011 at 3:39 pm
You could do this work with a Script Task but it will be a whole lot more code than using PowerShell. Here is a one line PowerShell command to copy...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
June 19, 2011 at 3:36 pm
Sometimes a sledgehammer is the only way to go depending on the size of the nut you have to crack (or expect to have to crack down the line) 🙂
Here...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
June 19, 2011 at 12:46 pm
james.morrison 19355 (6/19/2011)
Or take it offline completely and see if anyone notices.
Seriously, if you are really asking the question, it...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
June 19, 2011 at 12:03 pm
You're very close. Keep in mind that the beginning and ending tags of all T-SQL language features must always match up in the order in which they're declared; and that...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
June 19, 2011 at 10:34 am
Here are a couple ways to get there.
On 2005 you can try the UPDATE...JOIN syntax which is proprietary to SQL Server. It's not ANSI compliant and it suffers from...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
June 19, 2011 at 6:42 am
I couldn't help myself...it's been a few years since I used BCP regularly so I had to put what I said to the test.
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
June 18, 2011 at 4:56 pm
Jeff Moden (6/17/2011)
opc.three (6/17/2011)
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
June 18, 2011 at 3:41 pm
I would recommend you use PowerShell for sys admin scripting tasks. You can schedule your scripts to run periodically using the SQL Agent PowerShell step type (2008+) or invoking PowerShell...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
June 18, 2011 at 2:37 pm
The bcp.exe utility is what you want. bcp is much different than BULK INSERT.
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
June 17, 2011 at 4:28 pm
BobMcC (6/17/2011)
Essentially it looks like I can do....
INSERT into History
SELECT pk1,...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
June 17, 2011 at 3:08 pm
stewartc-708166 (6/17/2011)
this will be substantially more efficient...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
June 17, 2011 at 2:08 pm
One possibility: the account running the SQL Agent job does not have access to the file path where the PS script resides.
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
June 17, 2011 at 1:58 pm
PHP on *ix talking to SQL Server is a challenge because of the lack of a complete and current open source driver. FreeTDS is the generally accepted "best one" and...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
June 17, 2011 at 1:44 pm
Viewing 15 posts - 6,001 through 6,015 (of 7,164 total)