Viewing 15 posts - 376 through 390 (of 623 total)
Seems simple now that that you point it out to me. Thanks.
CREATE TABLE #Destination
(
Account char(1),
ReportDate datetime,
DataType varchar(5),
Data int
)
CREATE TABLE #Staging
(
Account char(1),
ReportDate datetime,
DataType varchar(5),
Data int
)
INSERT INTO #Destination
SELECT 'A', '2/29/2012','Type1',5 UNION
SELECT 'A',...
March 1, 2012 at 7:51 pm
I want to delete and insert. It looks like your second statement is what I need.
March 1, 2012 at 7:48 pm
Merge won't work since there's not a one-to-one relationship between deleted and inserted records.
March 1, 2012 at 7:39 pm
That doesn't seem to insert any records. All records in the staging will be inserted.
My issue is I need to delete all records from the destination table where the...
March 1, 2012 at 5:54 pm
Is EAV an option? The users wouldn't actually be creating tables, they would be creating metadata about their 'tables'. The metadata and the actual data could be stored in the...
February 29, 2012 at 4:31 pm
Do you have service packs installed?
February 29, 2012 at 4:19 pm
Are you building a Select statement to be used in an SSIS import package?
Can you do the logic in your SQL statement rather than a derived column within the package?
February 14, 2012 at 3:35 pm
>> Is the module automatically fired when the access FE is opened?
Not in the method I describe. Its more of an access question so you might have better luck...
February 14, 2012 at 9:44 am
With the method I describe the connections are persistent and I only manually invoke the code when I am making design changes on the backend. In a development phase I...
February 14, 2012 at 9:16 am
I am not familiar with that OnOpen event method. I think that was Stephen_W_Dodd's method.
My method is a manual process to update the tables when changes are made to the...
February 14, 2012 at 8:59 am
You need to open the immediate window press CTRL+G it or access it from the View menu.
The copy and paste the Fixceonnections bit and hit enter.
February 14, 2012 at 8:28 am
In the immediate window paste in:
FixConnections "YourDatabaseServer", "YourDatabase"
Then hit enter.
February 14, 2012 at 8:14 am
No need for apologies J Livingston SQL. Your method is certainly more sophisticated than mine and is a method I will certainly consider.
February 13, 2012 at 12:52 pm
Create a new module and add everything from code start to code end. Save the module. I call mine modDNSLessConnection.
You'll see the module tab along with the other Access objects,...
February 13, 2012 at 12:03 pm
Create a new module and add everything from code start to code end. Save the module. I call mine modDNSLessConnection.
You'll see the module tab along with the other Access objects,...
February 13, 2012 at 10:28 am
Viewing 15 posts - 376 through 390 (of 623 total)