Viewing 7 posts - 1 through 7 (of 7 total)
Thank you, I did not know this.
I also know other experienced developers who were not aware of this.
January 27, 2006 at 1:21 pm
Please note the access query is incorrect!
It should be
UPDATE DISTINCTROW dbo_Employees INNER JOIN dbo_EmployeeTerritories ON dbo_Employees.EmployeeID = dbo_EmployeeTerritories.EmployeeID SET dbo_Employees.LastName = 'Leverling'
WHERE (((dbo_Employees.EmployeeID)=3));
This will only select records with EmployeeID =...
January 2, 2006 at 12:04 pm
Hi Andy,
How about changing the query from
UPDATE dbo_Employees INNER JOIN dbo_EmployeeTerritories ON dbo_Employees.EmployeeID = dbo_EmployeeTerritories.EmployeeID SET dbo_Employees.LastName = "Leverling2"
WHERE (((dbo_EmployeeTerritories.EmployeeID)=3));
to
UPDATE DISTINCTROW dbo_Employees INNER JOIN dbo_EmployeeTerritories ON dbo_Employees.EmployeeID = dbo_EmployeeTerritories.EmployeeID SET...
January 2, 2006 at 3:37 am
Sorry small error, left in the literal 'MyPivot' instead of @Pivot.
USE Tempdb
GO
--Create the Data
IF OBJECTPROPERTY(OBJECT_ID('dbo.MyData'), 'IsUserTable') = 1
DROP TABLE dbo.MyData;
GO
CREATE TABLE dbo.MyData
(
ID INT NOT NULL
, LastName VARCHAR(20) NOT NULL
,...
November 21, 2005 at 8:22 pm
I have added the dynamic element you need, hopefully this will be closer to what you need.
Youwill need to know the name of the field which uniquely identifies each row...
November 21, 2005 at 5:45 pm
Does this work for you?
USE tempdb
IF OBJECTPROPERTY(OBJECT_ID('dbo.MyPivot'), 'IsUserTable') = 1
DROP TABLE dbo.MyPivot;
GO
CREATE TABLE dbo.MyPivot
(
ID INT NOT NULL
, LastName VARCHAR(20) NOT NULL
, FirstName VARCHAR(20) NOT NULL
, Gender CHAR(1) NOT NULL
, Age TINYINT NOT NULL
);
GO
INSERT INTO MyPivot VALUES (1, 'Smith','Joe','M',32)
INSERT INTO MyPivot VALUES...
November 19, 2005 at 2:29 pm
Scott,
The quickest way is to open up each Access Database as a user and click on
Tools-Analyze-Documentor menu.
Select the appropriate options for each database object.
This will present an Access Style report...
November 18, 2005 at 3:22 pm
Viewing 7 posts - 1 through 7 (of 7 total)