Viewing 15 posts - 3,916 through 3,930 (of 5,588 total)
You're also likely (continuing the pun) to see some pretty poor performance - with the leading wildcard, you won't be able to utilize an index.
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
June 23, 2010 at 8:05 pm
Hi Paul,
#1: yes, you're correct, I didn't think about bulk loads.
#2: A default is only used on the initial insert into the table for that row. I was thinking about...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
June 23, 2010 at 3:58 pm
assuming that you would also need rows in the output of:
1084d1084d
1084e1084e
1084f1084f
Then this would work. Someone might be able to make it nicer...
-- See how this starts off with a table...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
June 23, 2010 at 3:51 pm
Talk to your credit-card processor. I believe that they have some numbers that can be used for this type of thing - they pass the verification process but are completely...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
June 23, 2010 at 2:40 pm
I assume you're talking about doing this in Reporting Services.
Click on the detail row. On the far left, just to the left of the report, right-click on the box beside...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
June 23, 2010 at 2:34 pm
Rem-487422,
Do you understand how the code that Scott sent completely replaces that cursor?
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
June 23, 2010 at 1:50 pm
rahulsony111 (6/23/2010)
also can you please help me to understand the code very brieflythanks
Rahul, falgunoza did a pretty good job of explaining it. If there is something that you still don't...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
June 23, 2010 at 12:45 pm
Step 3 upgrades the secondary.
Step 5 copies the tlog backups from primary to secondary, and applies them to the secondary.
Step 8 upgrades the primary.
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
June 23, 2010 at 11:14 am
Glad it helps
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
June 23, 2010 at 10:46 am
Well, first of all, you can't run this exact same command in sql 2005... the microsecond precision is only available in the datetime2 datatype and other SQL 2008 new datatypes,...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
June 23, 2010 at 10:30 am
How's this:
-- See how this starts off with a table and data in it?
-- If you had provided us the data in this format,
-- it would have made things...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
June 23, 2010 at 10:14 am
Cool, I was hoping that there was a solution for this, it just sounded like a reasonable thing to do.
Good job Lowell!
(Now if only one could bookmark a forum post...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
June 23, 2010 at 9:50 am
Here's my solution. This first part uses the test data you provided in your first post, with an additional row showing the startdate overlap.
--===== If the test table already exists,...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
June 23, 2010 at 9:45 am
I was thinking the other day that maybe we could use a persisted computed column for something like the Modified date. If I set the column "Modified_date" as a persisted...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
June 23, 2010 at 8:50 am
Here's a quick example of the differences of the different datatypes. Note that to insert the time into the datatypes that support time, you have to prefix your MM:SS with...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
June 23, 2010 at 8:42 am
Viewing 15 posts - 3,916 through 3,930 (of 5,588 total)