<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:media="http://search.yahoo.com/mrss/"><channel><title>oracle on Neolisk's Tech Blog</title><link>/tags/oracle/</link><description>Recent content in oracle on Neolisk's Tech Blog</description><generator>Hugo -- gohugo.io</generator><language>en</language><managingEditor>neolisk@gmail.com (Victor Zakharov)</managingEditor><webMaster>neolisk@gmail.com (Victor Zakharov)</webMaster><copyright>©2020-2024 Victor Zakharov. All Rights Reserved</copyright><lastBuildDate>Thu, 17 Feb 2011 00:00:00 +0000</lastBuildDate><atom:link href="/tags/oracle/index.xml" rel="self" type="application/rss+xml"/><item><title>Oracle ALTER SEQUENCE - START WITH not working?</title><link>/posts/2011-02-17-oracle-alter-sequence-start-with-not-working/</link><pubDate>Thu, 17 Feb 2011 00:00:00 +0000</pubDate><author>neolisk@gmail.com (Victor Zakharov)</author><atom:modified>Sun, 29 Mar 2020 19:23:55 -0400</atom:modified><guid>/posts/2011-02-17-oracle-alter-sequence-start-with-not-working/</guid><description>I googled over many websites explaining the error code and suggesting you do not change it. What if you really need to?
One approach is to call NEXTVAL as many times to shift the sequence, so that it starts with your START WITH number (&amp;lt;SW&amp;gt;). A better one is to change INCREMENT BY to a certain value instead, then do NEXTVAL and revert INCREMENT BY.
For example, suppose you currently have an increment = &amp;lt;I&amp;gt;, your current sequence value is &amp;lt;C&amp;gt;.</description><dc:creator>Victor Zakharov</dc:creator><category>oracle</category><category>sql</category></item><item><title>PowerShell - Query Oracle Database</title><link>/posts/2009-10-06-powershell-query-oracle-database/</link><pubDate>Tue, 06 Oct 2009 00:00:00 +0000</pubDate><author>neolisk@gmail.com (Victor Zakharov)</author><atom:modified>Tue, 13 Oct 2020 15:08:19 -0400</atom:modified><guid>/posts/2009-10-06-powershell-query-oracle-database/</guid><description>You might have already googled other pages to help you on this. You even probably have found some PowerShell function like the one below:
1 2 3 4 5 6 7 8 9 function OracleQuery($Instance,$User,$Password,$Query) { $private:tmp = [System.Reflection.Assembly]::LoadWithPartialName(&amp;#34;System.Data.OracleClient&amp;#34;) $private:con = &amp;#34;Data Source=$instance;User Id=$user;Password=$password&amp;#34; $private:ad = New-Object System.Data.OracleClient.OracleDataAdapter($query,$con) $private:ds = New-Object System.Data.DataSet $private:tmp = $ad.Fill($ds) return $ds.Tables[0] } Still something makes this one different. Here are some tricks used here:</description><dc:creator>Victor Zakharov</dc:creator><category>powershell</category><category>oracle</category><category>devops</category></item></channel></rss>