Need help in merging two database
Dear All,
Can any one please let me know the methodology/Best practices for merging two databases.
We are having two oracle Database A and B, the data from
Database A has to be migrated to Database B using PL/SQL scripting.
it will be a great help,Thanks in advance!
Hi,
Use the DB Links and try to use the "MERGE" that is better.
you can clone it right, almost you are getting the same data from A to B and then you are going to Update is I am correct. Does the "B" consist the data, If yes then you can't clone on exiting DB, As i said above go for DB links and write custom scripts as per your requirement.
Refer for DB links
http://download.oracle.com/docs/cd/B19306_01/server.102/b14231/ds_admin.htm#sthref4108
- Pavan Kumar N
Similar Messages
-
I need help with controlling two .swf's from third.
Hi, thanks for reading!
I need help with controlling two .swf's from third.
I have a problem where I need to use a corporate designed
.swf in a digital signage solution, but have been told by the legal
department that it can not be modified in any way, I also can't
have the source file yada yada. I pulled the .swfs from their
website and I decompiled them to see what I was up against.
The main swf that I need to control is HCIC.swf and the
problem is it starts w/ a preloader, which after loading stops on a
frame that requires user input (button press) on a play button,
before the movie will proceed and play through.
What I have done so far is to create a container swf,
HCIC_container.swf that will act as Target for the HCIC.swf, and
allow me to send actionscript to the file I'm not allowed to
modify.
I managed to get that done with the help of someone on
another forum. It was my hope that the following script would just
start HCIC.swf at a frame past the preloader and play button, and
just play through.
var container:MovieClip = createEmptyMovieClip("container",
getNextHighestDepth());
var mcLoader:MovieClipLoader = new MovieClipLoader();
mcLoader.addListener(this);
mcLoader.loadClip("MCIC.swf", container);
function onLoadInit(mc:MovieClip) {
mc.gotoAndPlay(14);
But unfortunately it didn't solve my problem. Because there
is a media-controller.swf, that is being loaded by HCIC.swf that
has the controls including the play button to start HCIC.swf.
Here's a link to a .zip file with all 3 .swf files, and all 3
.fla files.
http://www.axiscc.com/temp/HCIC.zip
What I need to do is automatically start the HCIC.swf file
bypassing the pre-loader and play button without editing it or the
media-controller.swf in anyway. So all the scripting needs to be
done in HCIC_container.swf.
I know this is confusing, and its difficult to explain, but
if you look at the files it should make sense.
ActionScripting is far from my strong point, so I'm
definitely over my head here.
Thanks for your help.Got my solution on another forum.
http://www.actionscript.org/forums/showthread.php3?t=146827 -
I need help with these two crashes...
PL_DHashTableOperate | GCGraphBuilder::NoteRoot(unsigned int, void*, nsCycleCollectionParticipant*)
DFusionWebPlugin@0x86b5
The first one happened a couple of days ago, a few times and not on any specific website.
The second one only happens on the site below.The second one indicates a problem with the DFusionWebPlugin that shows in your More system details list.
# D'Fusion Web Plug-In for Safari 64 bits (3.00.13774.0)
# D'Fusion Web Plug-In (3.00.13774.0)
What you posted are crash signatures.<br />
It might help if you post the actual crash IDs (bp-xxxxxxxx-xxxxxxxxx-xxxx-xxxxxxxxxxxx).<br />
You can find the IDs of the submitted crash reports on the <i>about:crashes</i> page.
See http://kb.mozillazine.org/Breakpad (Mozilla Crash Reporter) -
Need help to pair two iPhones?
Need help to pair two iPhones 3GS. Both have Bluetooth turned on but only one shows the other phone. Please help?
What are you trying to accomplish?
Iphones support bluetooth for stereo speakers/headsets, hadsfree telephone devices/headsets, some peer-to-peer apps from the app store, some keyboards and internet tethering where provided by the carrier.
Other than this it will not connect to another phone/device/computer.
File transfer is not supported at all. -
Need Help to query Lync Database for User Information
Need Help to Query the lync database to retrieve below user information.
1. SIP Address of the registered user
2. Phone Number configured to the particular account.
3. IP Address
4. Last Logged in time.
I am trying to pull the above information from rtc database for all the registered users. Please let me know if this is possible and it would be great if you can throw some light on what tables to look for the data. Thank You.Hi,
For SIP address and Phone number you can check RTC database.
IP Address:
You can refer to the link below to query IP address:
http://h30499.www3.hp.com/t5/Business-Service-Management-BAC/Monitoring-Lync-with-the-User-Registrations-Viewer-Free-NMC-tool/ba-p/5961497#.UtOU43mIrwo
Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there.
Please make sure that you completely understand the risk before retrieving any suggestions from the above link.
Last Logged in time:
You can refer to the link below:
http://blogs.technet.com/b/dodeitte/archive/2011/05/11/how-to-get-the-last-time-a-user-registered-with-a-front-end.aspx
Best Regards,
Eason Huang
Eason Huang
TechNet Community Support -
Help with Merging Two Accounts....
Hi,
We ended up with two my Best Buy accounts.
I called up and talked with someone, who said they would merge the accounts....
A few hours later, when I logged in, the website said I had two accounts and to choose one to view.
That lasted for about 4 days,
Then, the website didn't ask anymore and just logged into one account ... which I thought meant the merge had occured.
HOWEVER, none of the purchases on the"other" account are on the primary account, which was the point of teHi scXenon,
I used the email address you registered with the forum to review your information, and I do see that you currently have two active My Best Buy™ accounts. If the primary information shared between the two accounts matches, then we should have no problem merging them. That process would involve closing one account, and then moving any unused points/certificates from the closed account to the active primary account.
I do see that you have an open case with our Account Maintenance department and I trust that they will be able to help successfully merge your accounts; however, I am going to send you a private message to see if there is anything I can help with. To check your private messages, you would want to login to the forum and click on the yellow envelope icon located at the top of the page.
Merging My Best Buy™ Accounts
Thank you for posting!
Derek|Social Media Specialist | Best Buy® Corporate
Private Message -
Merge two databases with identical schemas
I need to automate the merging of two identical databases into a new database using java.
Any help or pointers?I need to automate the merging of two identical
databases into a new database using java.
Any help or pointers?I would start by changing the requirements ("using java").
Other than that certainly if there is any volume and if it needs to be running while you are doing it is going to be a real problem.
Excluding that you do the following.
1. For each table determine specifically what is meant by "are these rows equal".
2. Write a merge method for each table.
3. Write more methods to deal with foreign keys
4. Put everything together in such a way that it runs.
5. Provide a method for reporting errors.
6. Plan on spending a lot of time supporting it. -
Need help with merging itunes accounts.
Hello. I was wondering if any of you mac experts can help me. My husband and I recently purchased a new mac and are having trouble figuring out how to merge our information into our computer's itunes. I set up the computer under my apple ID/email. However we both have separate apple id's linked with the same bank account information. The problem is, itunes on our computer isn't recognizing any of the purchases through my husband's apple id, even though they were paid for through the same account. I haven't been able to figure out whether or not I can add his apple id/email to itunes and merge the two, since a substantial amount of music/apps/etc were purchased under his ID. Surely it's possible to have more than on apple id on one family's computer? Anyone know? Hopefully I worded this clearly enough. Thanks!
Open the NetInfo Manager in the /Applications/Utilities/ folder, click the padlock, type in your password, and then locate that account in the list of users. Delete that account and only that account; don't make any other changes. The account's home folder will remain on the drive.
(11474) -
Need help connecting to a database with an applet
I am making a Java game that runs in an applet and needs to connect to a Java DB database. I created the database and table in NetBeans and now I have no idea how to connect this applet to the database. I tried using a DataSource and an InitialContext and I got a NoInitialContextException. Any help would be appreciated thanks.
Already made the InitialContext. This is the code I used in the applet:
InitialContext ic = new InitialContext();
DataSource ds = (DataSource) ic.lookup("jdbc:derby://localhost:1527/GameDatabase");
Connection con = ds.getConnection();
Statement stmt = con.createStatement();
ResultSet rs = stmt.executeQuery("SELECT * FROM Scenery"); -
Need help in combining two similair SQLs into one
DB Version:10gR2
I need to combine the following two queries into one query and return the following three columns
Unprocessed Quantity1,Unprocessed Quantity2, Total Uprocessed Cost
Unprocessed Quantity1 can be determined using
select t.ITEM, sum(t.QTY)
from (select cd.ITEM_ID ITEM, cd.ACTL_QTY QTY
from CONVEY_HDR ch, CURRENT_INVN cd, ALLOC_HDR ah
where ........
UNION
select sd.ITEM_ID ITEM, sd.INVN_QTY QTY
from shp_dtl pd
UNION
Select item_id, inv_qty from another table
GROUP BY.....
ITEM SUM(T.QTY)
88JAT 25
000002395 1
300108396 27
000004397 7
73984290 15Unprocessed quantity2 can be determined using
select t.ITEM, sum(t.QTY)
from (select cd.ITEM_ID ITEM, cd.ACTL_QTY QTY
from CONVEY_HDR ch, CURRENT_INVN cd, ALLOC_HDR ah
where rownum<6
group by t.ITEM
order by t.ITEM;
ITEM SUM(T.QTY)
189436171 2
009438837 160
000040685 16
000032410 18Total Unprocessed Cost can found using the sum of Quantities for a particular Item from above two queries multiplied by
ITEM_COST for that ITEM (which is found in ITEM_DTL table). For every item; ITEM_DTL.item_id=CARTON_dTL.carton_id
Total Unprocessed Cost= (Unprocessed Quantity1+Unprocessed Quantity2)*ITEM_DTL. ITEM_COST
Note: Unprocessed Quantity2 query looks very similair to first SQL in UNION of Unprocessed Quantity1, but ah.STAT_CODE < 90 for Unprocessed Quantity2 query
Edited by: user636669 on Jan 14, 2009 10:40 AM
Edited by: user636669 on Jan 14, 2009 10:57 AM
Corrected typo
Edited by: user636669 on Jan 14, 2009 7:07 PMHi,
Put the two queries you posted in sub-queries. You can then use their result sets as if they were tables.
Do something like this:
WITH uq1 AS
select t.ITEM, sum(t.QTY) AS total
from (select cd.ITEM_ID ITEM, cd.ACTL_QTY QTY
from CASE_HDR ch, CASE_DTL cd, ASN_HDR ah
... the rest of your first query goes here
, uq2 AS
select t.ITEM, sum(t.QTY) AS total
from (select cd.ITEM_ID ITEM, cd.ACTL_QTY QTY
from CASE_HDR ch, CASE_DTL cd, ASN_HDR ah
... the rest of your second query goes here
SELECT uq1.item
, uq1.total AS "Unprocessed Quantity1"
, uq2.total AS "Unprocessed Quantity2"
, (uq1.total + uq2.total) * dtl.item_cost
AS "Total Uprocessed Cost"
FROM uq1
JOIN uq2 ON uq1.item = uq2.item
JOIN item_dtl dtl ON uq1.item = dtl.item;If some items are in uq1 but not in uq2 (or vice-versa), then you'll probably want to do outer joins.
I don't have any of the tables used, so I can't test this myself.
If you need more help. then post a little sample data from each of the tables, and the results you want from that data.
It looks like you're doing the same join in each of your original queries.
You can add another sub-query that does that join once, and then use that sub-query in sub-queries uq1 and uq2. -
I need help in drowng two varibles in real time chart(LiveGraph)
hi every one
in my application i have two variables 1)patient id 2) time . that i need to draw in a realtime chart
i found a program called LiveGraph. i don't know if there is easier way for drawing charts??
here i code:
// derived from SUN's examples in the javax.comm package
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.Enumeration;
import java.util.TooManyListenersException;
import java.lang.*;
import oracle.jdbc.driver.*;
import gnu.io.*; // for rxtxSerial library
public class nulltest22 implements SerialPortEventListener {
static CommPortIdentifier portId;
static CommPortIdentifier saveportId;
static Enumeration portList;
InputStream inputStream;
SerialPort serialPort;
Thread readThread;
static Connection con = null;
static String messageString = "Hello, world!";
static OutputStream outputStream;
static boolean outputBufferEmptyFlag = false;
public static void main(String[] args)throws SQLException {
boolean portFound = false;
String defaultPort;
// determine the name of the serial port on several operating systems
String osname = System.getProperty("os.name","").toLowerCase();
if ( osname.startsWith("windows") ) {
// windows
defaultPort = "COM5";
else {
System.out.println("Sorry, your operating system is not supported");
return;
if (args.length > 0) {
defaultPort = args[0];
System.out.println("Set default port to "+defaultPort);
// parse ports and if the default port is found, initialized the reader
try {
portId = (CommPortIdentifier)CommPortIdentifier.getPortIdentifier(defaultPort);
System.out.println("Found port: "+defaultPort);
portFound = true;
nulltest22 reader = new nulltest22();
catch (Exception e) {
System.out.println(e);
if (!portFound)
System.out.println("port " + defaultPort + " not found.");
// close the connection
//con.close();
} //main end
public nulltest22 () {
try
try
DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
Class.forName("oracle.jdbc.driver.OracleDriver");
catch (ClassNotFoundException s)
System.out.println(s);
con =DriverManager.getConnection("jdbc:oracle:thin:@toshiba:1521:ora","scott","tiger");
catch(SQLException s)
System.out.println(s);
// initalize serial port
try {
serialPort = (SerialPort) portId.open("SimpleReadApp", 2000);
} catch (PortInUseException e) {
System.out.println(e);
try {
inputStream = serialPort.getInputStream();
} catch (IOException e) {
System.out.println(e);
try {
serialPort.addEventListener(this);
} catch (TooManyListenersException e) {
System.out.println(e);
// activate the DATA_AVAILABLE notifier
serialPort.notifyOnDataAvailable(true);
try {
// set port parameters
serialPort.setSerialPortParams(19200, SerialPort.DATABITS_8,
SerialPort.STOPBITS_1,
SerialPort.PARITY_NONE);
} catch (UnsupportedCommOperationException e) {}
}//end constructor
public void serialEvent(SerialPortEvent event) {
switch (event.getEventType()) {
case SerialPortEvent.BI:
case SerialPortEvent.OE:
case SerialPortEvent.FE:
case SerialPortEvent.PE:
case SerialPortEvent.CD:
case SerialPortEvent.CTS:
case SerialPortEvent.DSR:
case SerialPortEvent.RI:
case SerialPortEvent.OUTPUT_BUFFER_EMPTY:
break;
case SerialPortEvent.DATA_AVAILABLE:
// we get here if data has been received
byte[] readBuffer = new byte[400];
try {
// read data
while (inputStream.available() > 0) {
int numBytes = inputStream.read(readBuffer);
// print data
String result = new String(readBuffer);
//checks in the incoming packet is patients info
int a = result.indexOf("77707373");
System.out.println("find wpss in index "+ a);
if (a!=-1){
int location=a;
char array[] = result.toCharArray();
//save pitent info.
String PID = new String (array,location+8,2);
String TS = new String (array,location+10, 8);
String sample = new String (array,location+18, 4);
String HeartBeat = new String (array,location+22, 4);
try {
Statement st = con.createStatement();
String statment = "INSERT INTO heartbeat5 VALUES('" + PID+ "' , '" + TS + "' , '" + sample + "', ' " + HeartBeat + "') ";
System.out.println(statment);
int val= st.executeUpdate(statment);
} catch (SQLException ex){ }
} catch (IOException e) {}
break;
i need to drow PID and TS in the codeYou might consider JFreeChart. There are multiple introductory articles on JFreeChart such as [Visualize Your Oracle Database Data with JFreeChart|http://www.oracle.com/technology/pub/articles/marx-jchart.html] and [On a New Course with JFreeChart|http://www.javaworld.com/javaworld/jw-12-2002/jw-1227-opensourceprofile.html]. The JFreeChart site lists [open source alternatives|http://www.jfree.org/jfreechart/faq.html#FAQ13] to JFreeChart.
-
Please help me merge two images
I've been reading tutorials for hours, and trying everything I can think of, but I just can't figure this out.
I have two BufferedImages (TYPE_INT_RGB), and I want to be able to create an alpha channel "mask" that lets me punch "holes" (antialiased) in the top one to have the bottom one show through. I can draw white circles (Ellipse2D.Double) to my heart's content on the top or bottom image, but I can't figure out how to use this as a alpha channel mask or how to use AlphaComposite to put it all together. Can someone please offer help?I merged the top 2 responses together to get an antialiased version. Then I saw the post below. Can anyone comment on which version is more efficient? Thanks for all your help.
import java.awt.AlphaComposite;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.GraphicsConfiguration;
import java.awt.GraphicsDevice;
import java.awt.GraphicsEnvironment;
import java.awt.Rectangle;
import java.awt.RenderingHints;
import java.awt.Transparency;
import java.awt.geom.Area;
import java.awt.geom.Ellipse2D;
import java.awt.image.BufferedImage;
import java.io.File;
import java.io.IOException;
import javax.imageio.ImageIO;
import javax.swing.JOptionPane;
import javax.swing.JPanel;
public class ImageHoles extends JPanel {
BufferedImage[] images;
Area mask;
ImageHoles(BufferedImage[] images) {
this.images = images;
// Set the mask = null and call repaint
// inside componentResized method of a
// ComponentListener added to this.
protected void paintComponent(Graphics g) {
super.paintComponent(g);
int w = getWidth();
int h = getHeight();
int x = (w - images[0].getWidth())/2;
int y = (h - images[0].getHeight())/2;
// draw bottom image
g.drawImage(images[0], x, y, this);
x = (w - images[1].getWidth())/2;
y = (h - images[1].getHeight())/2;
if(mask == null) {
createMask(x, y);
// from Chris Campbell's Blog (see above)
// Create a translucent intermediate image in which we can perform
// the soft clipping
GraphicsEnvironment ge = GraphicsEnvironment.getLocalGraphicsEnvironment();
GraphicsDevice gs = ge.getDefaultScreenDevice();
GraphicsConfiguration gc = gs.getDefaultConfiguration();
BufferedImage img = gc.createCompatibleImage(w, h, Transparency.TRANSLUCENT);
Graphics2D g2 = img.createGraphics();
// Clear the image so all pixels have zero alpha
g2.setComposite(AlphaComposite.Clear);
g2.fillRect(0, 0, w, h);
g2.setComposite(AlphaComposite.Src);
g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON);
g2.setClip(mask);
g2.setColor(Color.WHITE);
g2.fill(mask);
BufferedImage hi = images[1];
g2.setComposite(AlphaComposite.SrcAtop);
g2.drawImage(hi, 0,0,hi.getWidth(), hi.getHeight(), this);
g2.dispose();
// from Chris Campbell's Blog (see above)
// draw masked antialias layer
g.drawImage(img, x, y, this);
private void createMask(int x, int y) {
int w = images[1].getWidth();
int h = images[1].getHeight();
Rectangle r = new Rectangle(x, y, w, h);
Ellipse2D e1 = new Ellipse2D.Double(x+20, y+75, 25, 25);
int cx = x + w/2;
int cy = y + h/2;
Ellipse2D e2 = new Ellipse2D.Double(cx-30, cy-30, 60, 60);
Ellipse2D e3 = new Ellipse2D.Double(x+w-60, y+h-60, 40, 40);
mask = new Area(r);
mask.subtract(new Area(e1));
mask.subtract(new Area(e2));
mask.subtract(new Area(e3));
public static void main(String[] args) throws IOException {
String[] ids = { "polarBear", "hawk" };
BufferedImage[] images = new BufferedImage[ids.length];
for(int j = 0; j < images.length; j++) {
String path = "images/" + ids[j] + ".jpg";
images[j] = ImageIO.read(new File(path));
ImageHoles test = new ImageHoles(images);
test.setPreferredSize(new Dimension(images[0].getWidth(),images[0].getHeight()));
JOptionPane.showMessageDialog(null, test, "", -1);
} -
Need Help With Combining Two Variables For A Redirect
Hello-
<br />
<br />In a different part of my site (built with ADDT) I have this script that creates a variable by combining two session variables, and then the new variable is submitted into a mysqul database table using a hidden form field:
<br />
<br />
<form>
<input type="hidden" name="exerreference" id="exerreference" value="<?php echo $_SESSION['kt_login_user']; ?><?php echo $_SESSION['kt_exer_reference']; ?> <br />" />
<br />
<br />There is also this part of the script in the header script:
<br />
<br />$ins_exer1->addColumn("exerreference", "STRING_TYPE", "POST", "exerreference");
<br />
<br />What I am trying to do now on another page is combine a session variable "kt_login_user" with a piece of dynamic text "AA" so that I can compare it to the field "exerreference" that was inserted into the database using the above script. If the two variables match, the idea is to have a redirect to another page.
<br />
<br />So in a hypothetical example, if the value of the session variable "kt_login_user " is "bestperson," and static text is "AA" then I need to create the variable bestpersonAA (because this is how the variables exist in the exerreference recordset). This variable bestpersonAA then needs to be compared to the recordset value exerreference and if they match, the page redirects to ../previous/portalpre.php. If the two variables do not match, then there is no redirect.
<br />
<br />Here is what I have so far:
<br />
<br />if (isset($_SESSION['kt_login_user']))
<br />{
<br />if ($_SESSION['kt_login_user'.'AA'] = $row_Recordsetexer1['exerreference'])
<br />{
<br /> header ("Location: ../previous/portalpre.php");
<br />}
<br />}
<br />
<br />The script doesn't work yet - it's redirecting regardless of if the two varibles match. Any ideas on the correct syntax to get this working correctly?
<br />
<br />Thanks
<br />Dale</form>Hi Dale,
if ($_SESSION['kt_login_user'.'AA'] = $row_Recordsetexer1['exerreference'])
for checking whether two variables match, you´ll need the == comparison operator:
if ($_SESSION['kt_login_user'.'AA'] == $row_Recordsetexer1['exerreference'])
Cheers,
Günter Schenk
Adobe Community Expert, Dreamweaver -
Need help deciding between two different Zen products [micro vs ... micr
Hey all,
Just bought a black zen micro last Wednesday and am loving it. Bought it from Best Buy and splurged on the extra protection plan. Unfortunatlly, after a trip to Fry's today, I'm questioning my impulse buy.
At Fry's they have two different box sets of Zen Micros. One small one, like the one I got at Best Buy, with the player/battery, headphones, usb cable and smooth little pouch. But they also had a larger box with player/battery, headphones, usb cable, smooth little pouch AND an AC charger (and I'm not sure, but possibly a second battery?). I am assuming that this large box with more items (but still the same $99 price) is an older box. What I'm wondering is if there is any difference between the players in the two boxes. If there is not a difference, then I'm going back to Best Buy to get a refund and get one of the boxes at Fry's that has the charger with it (a much needed accessory for my uses). Of course, if the players do differ, I would have to find out in what way and weigh my option to keep what I have or return it and base a decision on that. That, of course, is what prompted this post.
I know some players just can't help but be deffecti've, does this older box contain a series with a higher rate of returns? Does it look different (I really like the way the back lighting looks on mine)? Anyone have experience with one of the older boxed sets and one of the newer ones (bought one, then another for S.O.)?
I'm already leaning towards return, but I just wanted to check with other creative users before I made my final decision.
Thanks,
-JonathanThere is no difference in the operation of the players. The very early Micros had the word "BACK" on the return button, the newer version just has a left pointing arrow. Supposedly, the newest units have a revision to the headphone jack, but there is no way of telling if you have the better or worse jack. The large box will also have the holder with the belt clip and stand. The Limited Edition has the extra battery, and is clearly marked with a sticker on the front of the box that says "Limited Edition FREE Extra Battery for 24 Hour Playtime. Some people say that the backlighting is different with the newer units, I dont know. The large box IS the older retail version. Hope this helps you.
-
Need help on merging Partition
I have a scenario where two tables (main and archive table) are using the same partition number and file group.
Row count is different on each table, though partition range value is same. The way it happened was that we created archived partition process to archive partitions in which data is older than 4 years. After running archiving process , business users inserted
data which were older than 4 years and fell into that archiving range in main table.
Now we have rows in both main table and archiving table. I want to merge those record together in archive table.
I was thinking to switch partition but I believe for that I need to empty archive table partition. Any guidance would be appreciated..
ZKUse $PARTITION function to get partition number for the value. Look at BOI for more details.
example from BOI
CREATE PARTITION FUNCTION RangePF1 ( int )
AS RANGE FOR VALUES (10, 100, 1000) ;
GO
SELECT $PARTITION.RangePF1 (100) ;
Then check rows values in sys.partitions table for that partition number and object_id
select rows from sys.partitions where object_id = object_id (<archive table>) and partition_number = @partition_number
if rows are 0 then that partition is empty you can switch partition else do delete and insert.
Maybe you are looking for
-
Acrobat Reader 10.0.1 and HP DesignJet 1055CM+ incompatibility
Hello - I'm an IT administrator with my organization and we recently experienced a compatibility issue. We have four plotters on our network, one of which is a HP DesignJet 1055CM+. We're currently running Windows 7 64bit on the machines that connect
-
Need asnwers - interview questions
Hi Experts, I am a novice candidate pursuing for SAP BW/BI opportunities and appearing for different interviews in SAP BW/BI. Following are some of the questions that I was fired by the interviewers. I appreciate your time and consideration for answe
-
Failure while loading into cube
I am doing loading into Headcount cube on daily basis through a process chain from two different datasources. The system is 3.5 But it fails while loading and it ends up with dump in ST22 with the exception ADD_PARTITION_FAILED. Can anybody help reg
-
Lost Transport Import History after the system refresh
Hi, We forgot to take the backup of the TPALOG table before the system refresh. We refreshed our testing system from production system. Right now we donu2019t have the old import history for the testing system. We played with TPALOG table and TPALOGH
-
See description