Viewing 15 posts - 4,981 through 4,995 (of 5,588 total)
rajasekhar857 (9/8/2009)
Select * from (
SELECT MED_NAME AS MEDICATION,
ETC,
generic_drug_name_override,Row_number() OVER (PARTITION BY MED_NAME
ORDER BY MED_MEDID_DESC ,
med_routed_med_id_desc ) rno
FROM EMRMedicationsTPLkup
WHERE UPPER(MED_NAME) = UPPER('Aspirin')
AND...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
September 8, 2009 at 5:07 am
m.dunster (9/5/2009)
So the first row would have a number of visits...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
September 6, 2009 at 6:21 am
It sounds to me that it's not so much that you want to remove the trailing zeros as it is that you only want the first 5 characters. So, try...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
September 6, 2009 at 6:03 am
Jeff Moden (9/6/2009)
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
September 6, 2009 at 5:55 am
This is an interesting challenge, but you didn't provide enough information for anyone to really help you out. For instance, can you have a booking from 9:15am - 9:45am, or...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
September 6, 2009 at 5:44 am
So true. I know that since I'm at a facility on the eastern shore, we're also prone to hurricanes. We actually shift over to our backup facility on all systems...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
September 6, 2009 at 5:34 am
GilaMonster (9/3/2009)
Probably as a web or front-end developer. I still enjoy coding. I was half-planning some years back on going back to dev. A...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
September 3, 2009 at 5:13 am
tvanharp (9/2/2009)
I created a clustered index which included, as part of the key, the column I am using in my where clause.
This could be your problem. If the column(s) in...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
September 2, 2009 at 8:27 pm
Restore your backup to a different database, on the same server if there is enough space. Then you can do an insert from the new database to the table where...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
September 2, 2009 at 7:52 pm
%^$^&%#&
Forgot all about the 24 hrs of SQL. Sounds like the presenters did a good job.
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
September 2, 2009 at 7:50 pm
Set up a separate data flow task for each.
In each data flow task, set up your oledb source to your sql server, and an Excel Destination.
This should handle what you're...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
August 28, 2009 at 4:56 am
cmcc (8/21/2009)
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
August 21, 2009 at 3:00 pm
david.c.reynolds (8/21/2009)
This is a very fascinating article. I have always wondered it there was a way to write data from SQL directly into an Excel Spreadsheet.
...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
August 21, 2009 at 2:04 pm
Barry, I appreciate you looking into this. Take care of yourself first, and come back to this when you're up to it.
That "tough problem" part intrigues (and scares) me. If...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
August 18, 2009 at 3:31 pm
Not necessarily. If your 2000 db has features that have been removed, then those won't work.
I suggest that you run the Upgrade Advisor against the database to see what it...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
August 17, 2009 at 5:41 pm
Viewing 15 posts - 4,981 through 4,995 (of 5,588 total)