Viewing 15 posts - 4,381 through 4,395 (of 5,588 total)
Roy Ernest (4/15/2010)
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
April 15, 2010 at 3:10 pm
bteraberry (4/15/2010)
Manual entry is always a problem, but by extending your constraint over such a large number of fields, the chances of entry errors invalidating the constraint are greatly increased.
Do...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
April 15, 2010 at 3:08 pm
Lynn Pettis (4/15/2010)
Okay denizens of The Thread, here's a good one!
Jeez. (Where's the shaking head emoticon?) There is a lot to be learned by that one. Yoda? Oh Yoda? where...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
April 15, 2010 at 3:06 pm
Based on the sample data you provided, what are the expected results?
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
April 15, 2010 at 2:53 pm
Jayded (4/15/2010)
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
April 15, 2010 at 2:42 pm
lmu92 (4/15/2010)
WayneS (4/15/2010)
lmu92 (4/15/2010)
blah blah blah.... Right, Wayne?uh, sure, jeff :w00t:
You consider my statement as "blah blah blah"? I'm depressed now. :crying:
I just wanted to quote the one part... to...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
April 15, 2010 at 2:31 pm
lmu92 (4/15/2010)
I really enjoy working on this "challenge" for several reasons:
#1 (and most important): You take the code provided as something to start with and modify/improve it to meet...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
April 15, 2010 at 2:21 pm
gregory.anderson (4/15/2010)
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
April 15, 2010 at 2:12 pm
lmu92 (4/15/2010)
blah blah blah.... Right, Wayne?
uh, sure, jeff :w00t:
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
April 15, 2010 at 2:05 pm
GSquared (4/15/2010)
I'd replicate from Oracle to Oracle.
I agree.
If your Oracle db is using stored procedures, then you're probably going to have a big issue with this - unless they...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
April 15, 2010 at 11:31 am
Tom.Thomson (4/15/2010)
Kit G (4/15/2010)
A man and a horse walk into a bar. The bartender says, "Why the long face?"(Bad Joke #2) 😀
And the horse replied "because the old grey...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
April 15, 2010 at 11:22 am
Jayded (4/15/2010)
INSERT INTO MAPPINGTABLESELECT * FROM OPENROWSET('Microsoft.Jet.OLEDB.4.0','Excel 8.0;Database=C:\Documents and Settings\user\My Documents\Length Adjustments\Mapping\Mapping Table.xls', 'SELECT * FROM [Sheet1$]')
Try:
INSERT INTO MAPPINGTABLE (Col1, Col2, Col3)
SELECT Col1, Col2, Col3
FROM OPENROWSET('Microsoft.Jet.OLEDB.4.0',
'Excel 8.0;Database=C:\Documents and...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
April 15, 2010 at 10:42 am
The GROUP BY clause goes before the ORDER BY clause.
Edit: You'll also need to add dbo.[IH_RE-TENANCY].[tenancy-ref] to the GROUP BY clause... try it without it and you'll get a new...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
April 15, 2010 at 10:30 am
Gus, FWIW, I think you have an excellent list of steps to do. Can we get you to update this when you actually do move the databases to include those...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
April 15, 2010 at 10:22 am
You know, the people that help out here are all un-paid volunteers. Providing the DDL scripts (CREATE TABLE, CREATE INDEX, etc.) for the tables affected, and INSERT statements to put...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
April 15, 2010 at 10:12 am
Viewing 15 posts - 4,381 through 4,395 (of 5,588 total)