473,654 Members | 3,264 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

SCD-2

Hi

I am trying to incoporate SCD-2 type logic w/ a merge statement. Any
ideas/ help/ or references?

That is..update the old existing record's end_eff_dt as the existing
rows max(eff_dt)-1
and update the new record's end_eff_dt to 2999-12-31. Can anyone help
me out here? Thanks!

Oct 9 '07 #1
0 1315

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
1409
by: Limin Fu | last post by:
Hello, Is there any technical description on internet of how python is designed? Or can somebody give a short description about this? I'm just curious. Thanks in advance, Limin
9
19576
by: Rathtap | last post by:
I want to use the Identity field (increment 1,1) as a primary key and have a unique constraint on my other field which is of type char. I am worried that related data in other tables may lose referntial integrity if records in the ID table get messed up and need to be re-entered. Can you please advice on best way to do this. I definitely need a numeric id field because it makes the joins and queries so much faster.
1
1103
by: Joeyej | last post by:
Hi - Wondering if anyone knows how to code a function fieldcheck to prevent users from choosing the same date from dual drop list on my web form using this include file example; <option value="none">Scroll through the list to choose a date <option value="May 11 2004, (Tuesday), 1pm">May 11 2004, (Tuesday), 1pm <option value="May 11 2004, (Tuesday), 2:30pm">May 11 2004, (Tuesday),
1
2670
by: Anthony | last post by:
I am defining the datagridtable style for a grid .... Dim coursekeycol As New DataGridTextBoxColumn coursekeycol.MappingName = COURSEKEYCOLNAME coursekeycol.HeaderText = "" coursekeycol.Width = COURSEKEYCOLWIDTH .... I am wondering, how to I set the cells so that the user
3
1600
by: bo2bo2 | last post by:
i am a dot net web developer i sometimes need to send mail on behalf of someone else like in the case of a greeting card and reservation systems i didn't know that such a thing existed before till i saw the yahoogroup new sending heaeder is that possible using system.web.mail
5
2857
by: Joel Barsotti | last post by:
I'm trying to get sql cache dependency working correctly. I've got sql server 2005 for my back end. I've don the "ALTER DATABASE dbName SET broker_enable" command. I made sure the user in my connection string has subscripe notifications permission set to grant. But now it seems that the cache is kicking my product out of the cache
0
2304
by: Yahoo! Groups | last post by:
--qmZXHrzahTmnWjcAmzfDy9efU1qhZy1O5P65Uoe Content-Type: text/plain Content-Transfer-Encoding: 7bit We are unable to process the message from <mysql@freebsd.csie.nctu.edu.tw> to <friendshippages-owner@onelist.com>. Your message was sent to the owner of a group that does not exist. Please check to make sure you spelled the
4
5832
by: Reinout | last post by:
Hi I set up a sql cache dependency, but always receive a "DependencyChanged" notification straight away (through CacheItemRemoved callback). Modifying the procedure didn't help me. It used to work running on a SQL 2000 database with a SqlDataSource and a few things set in the configuration file. The current setup is using SQL 2005 Express and caching in the datalayer/business objects. Running profiler, I notice events ran by the...
7
1540
by: Adrian | last post by:
Hi, I'm trying to add caching to our asp app, but am having problems with the SQLCacheDependancy not invalidating the cache when the table changes. Using vs2008, sqlserver 2005 developer edition. So far I've added the following to the application_start event.. System.Data.SqlClient.SqlDependency.Start("connectionstring as the sa user") and against the db, I did
0
8379
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8294
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8816
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8494
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8596
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7309
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
4150
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4297
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1924
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.