Viewing 15 posts - 3,796 through 3,810 (of 5,588 total)
WayneS (7/12/2010)
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
July 13, 2010 at 3:20 pm
SELECT Line1 = CASE WHEN Freeformat IS NULL THEN Flat + ', ' + House + ' ' + Number + ', ' + Street
...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
July 12, 2010 at 9:51 pm
LutzM (7/12/2010)
m.dunster (7/12/2010)
Through your example for creating the data...I have...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
July 12, 2010 at 7:29 pm
You might want to check out this link[/url]
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
July 12, 2010 at 7:11 pm
Please see the Cross-Tabs and Pivots, Part 1 and Part 2 links in my signature.
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
July 12, 2010 at 6:54 pm
Did changing to the SQL Native Client driver help out? As I demonstrated, it seems to work for me.
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
July 12, 2010 at 9:29 am
1. How do you determine that it's missing, and that it belongs there?
2. You might want to read the article in the first link in my signature. Doing what it...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
July 12, 2010 at 9:27 am
Fellow Threadizens - I'm having problems getting ssis pkgs/maint plans on a second (named) instance on a 2-node cluster running from the standby node. If you can help, please check...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
July 12, 2010 at 7:51 am
When:
select name, modify_date from sys.servers
Who: someone with sysadmin rights; don't know how to tell who did it.
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
July 10, 2010 at 12:41 pm
How about something like:
select top (1) TheFieldImInterestedIn
from TheTableIHaveToPerformMagicWith
order by TheFieldImInterestedIn DESC
Check constraints can utilize a function, so you might need to embed your max-field-comparison-between-two-fields logic in that.
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
July 10, 2010 at 12:38 pm
vandana_j79 (7/10/2010)
Thanks for replyActually i want first reopen date. For example even if i have four rows with reopen status i want new date as first reopen status date.
Just...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
July 10, 2010 at 9:01 am
-- See how you start off by actually creating a table
-- and then inserting the data into it? Doing this really
-- makes things a lot easier for all the...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
July 10, 2010 at 8:52 am
It looks like if you change your provider to SQL Native Client, that it will work.
I ran this code in a database named "Sandbox", and both queries return the 600...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
July 10, 2010 at 7:19 am
Jeff Moden (7/9/2010)
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
July 9, 2010 at 9:14 pm
GabyYYZ (7/8/2010)
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
July 9, 2010 at 9:08 pm
Viewing 15 posts - 3,796 through 3,810 (of 5,588 total)