Viewing 15 posts - 6,016 through 6,030 (of 7,168 total)
One possibility: the account running the SQL Agent job does not have access to the file path where the PS script resides.
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...
June 17, 2011 at 1:44 pm
jason.spamalicious (6/17/2011)
Thanks a million.
Awesome 😎
June 17, 2011 at 1:17 pm
Thanks for posting back.
I looked at the article to see how you arrived at a query that used "IF 0 NOT IN" because I had never seen that as an...
June 17, 2011 at 1:15 pm
Ahhh...when you launch PowerShell from SSMS I think you're actually running a SQLPS session which is a mini-shell (real term :-)) different from a standard PS shell.
See section "Adding the...
June 17, 2011 at 12:50 pm
I think we're having a terminology disconnect here...
I am talking about using SQL Server transaction replication to replicate the resultset of a VIEW from a publisher (the operational database) to...
June 17, 2011 at 12:10 pm
sturner (6/17/2011)
I use xp_fileexist It is probably undocumented (which will freak out some purists) ...
Not sure if I'm a purist but your post freaked me out a little.
PowerShell +10,000
June 17, 2011 at 11:49 am
Something did not come through correctly through the copy/paste/website translation...can you please save the execution plans on your local disk and attach them to the thread?
June 17, 2011 at 11:28 am
We want the Actual Execution Plan saved as an XML file (.sqlplan extension).
From the article with some relevant items in bold:
To save an execution plan by using SQL Server Management...
June 17, 2011 at 11:01 am
Sounds like you're doing something when trying to gen it or save it where it's not giving you the proper result. Please have a look at this article:
http://msdn.microsoft.com/en-us/library/ms190646.aspx
Edit: See the...
June 17, 2011 at 10:48 am
PaulB-TheOneAndOnly (6/17/2011)
opc.three (6/17/2011)
June 17, 2011 at 10:42 am
:ermm: I'm not well-versed in reading text plans...could you provide graphical plans? You can save them as .sqlplan files locally and attach them to the thread.
June 17, 2011 at 10:36 am
You're close. See if this makes more sense. I updated your script so it runs independently and just prints what would be run...just uncomment the EXEC command if you want...
June 17, 2011 at 10:31 am
Just curious because I have supported PHP clients talking to SQL Server...what drivers are the PHP devs using? Is it PHP on Windows or *ix?
June 17, 2011 at 10:06 am
PaulB-TheOneAndOnly (6/17/2011)
I would set a proper ETL process...
Define proper? In what way is a replicated VIEW improper?
...SSIS packages based solution usually does the trick.
This is an option. The SSIS package...
June 17, 2011 at 9:30 am
Viewing 15 posts - 6,016 through 6,030 (of 7,168 total)