Viewing 14 posts - 31 through 44 (of 44 total)
Here is a User Defined Function that can be called to perform this functionality wherever and whenever needed. Best of luck!
-- ************************************************************************************
-- Create Function
-- ************************************************************************************
CREATE FUNCTION tsgudf_FormatPadLeft
(@StringToPad VARCHAR (255)...
December 7, 2004 at 6:34 am
Recall from the orginal post: When the table is sorted by Company, CostCenter, Account and Subsidiary a positional heirarchy is created.
Am I correctly assuming that becuase there is no physically...
November 12, 2004 at 7:43 am
Is there any easy way to convert NO model to a Nested Sets Model?
November 12, 2004 at 7:35 am
Interesting... Thanks for the helpfull ideas!!!
I have just bought Joe Cleko's Trees and Hierarchies in SQL for Smarties (ISBN 1-55860-920-2)
and Joe Celko's SQL for Smarties: Advanced SQL Programming 2nd...
November 12, 2004 at 6:42 am
Solved with the following:
AND (CASE
WHEN @EmployeeNumber IS NULL THEN F060116.YAAN8
WHEN @EmployeeNumber = 0 THEN F060116.YAAN8
ELSE @EmployeeNumber
END = F060116.YAAN8)
September 15, 2004 at 11:33 am
THANKS FORUM for all the efforts.
I had to change the @AddressNumber to 1 in order for the CASE statement in the WHERE clause to work using Antares636 proposed modifications. Previously...
May 26, 2004 at 12:40 pm
Made mod to add 'as AddressNumber' to end of CASE... same error received. Any other thoughts?
May 26, 2004 at 9:31 am
VERY ELEGANT Solution Chris!
Two thoughts:
1) Problem when entering a from date of '20000201' - instead of only not including Month1 of 2000 the proc does not include Month1 of...
May 25, 2004 at 8:22 am
Thank you for the clarification!
So, in concluding, will the following will work as described?
On the AddressTable
INSTEAD OF UPDATE <conditionally intercept and change business rule invalid UPDATES to INSERTS>
UPDATE <trigger to...
February 10, 2004 at 12:13 pm
SQL Server Books Online Topic "Specifying First and Last Triggers" indicates...
"INSTEAD OF triggers cannot be specified as first or last triggers. INSTEAD OF triggers are fired before updates are...
February 10, 2004 at 11:49 am
Web Sites to visit:
http://www.intelligententerprise.com has very good information centers for Data Warehousing, Business Intelligence, Data Integration, and Analytic Applications.
http://www.dw-institute.com (The Data Warehouse Institute)
Books:
Data Warehouse Design Solutions...
December 31, 2003 at 6:46 am
Thanks DavidT.
Your solution has pointed out one minor problem in my Data Description.
The Sick, Vac, and SickVac codes are NOT in the physical table (I only used...
December 5, 2003 at 8:14 am
Thanks for the guideance however I have reviewed those solutions and the topic referenced assumed the name is delimited with spaces and as such does not provide enough of a...
November 19, 2003 at 7:58 am
I like Joe Johnson's information. This approach means making a modification to you code implementation to check for and handle any names that may include the apostrophe, intercept them and...
November 19, 2003 at 6:35 am
Viewing 14 posts - 31 through 44 (of 44 total)