Viewing 15 posts - 61 through 75 (of 198 total)
Yes, I did and it had no effect on the performance when run against the entire table.
October 24, 2008 at 1:41 pm
Here we go......
Problem description:
After running the creation scripts and then running the SP...
If you look at MRN 1821, you will see that they have 4 insurance plans but...
October 24, 2008 at 1:35 pm
Lynn Pettis (10/24/2008)
October 24, 2008 at 11:22 am
Nope, as it is joining different other tables for other data.
October 24, 2008 at 10:19 am
Jeffrey Williams (10/23/2008)
One advantage to using SQLCMD is that you can actually test the script in SSMS in SQLCMD mode to validate the script works correctly.
How?
October 24, 2008 at 7:07 am
We have been contemplating rewriting the utility to use sqlcmd.
October 23, 2008 at 4:32 pm
It varied..
One was where we were adding 3 columns in separate calls and the first column never got added, the second and third did, however, and the resulting SP created...
October 23, 2008 at 4:16 pm
My bad, it wasn't the create procedure part of the script doing it but a real bonehead
definition of [varchar(25)] in a create table. DUH!!!
I forgot that the error message comes...
October 23, 2008 at 11:08 am
I used ApexSQLDiff to do this and it worked great. The DIFF script is fairly verbose
but you can modify it at your desire.
October 23, 2008 at 11:01 am
Depends, the later versions needed an add-on for command line support.
Check the help topic "command line interface"
October 22, 2008 at 11:15 am
RBY...
-- ptEncounter
CREATE TABLE [dbo].[ptEncounter](
[EncounterID] [int] IDENTITY(1,1) NOT NULL,
[BillNumber] [int] NOT NULL,
[ClaimNumber] [nvarchar](20) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[LatestRec] [bit] NOT NULL,
[MRN] [varchar](25) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[SubscriberContactID] [int] NULL,
[LocationID] [int] NULL,
[AuthID] [int] NULL,
[BillerUserID] [int] NULL,
[PostingDtTm]...
October 22, 2008 at 11:08 am
Ok, sorry for the delay. I created an index on MRN+Status on ptDictation today and
made no difference in the plan.
Here is the execution plans and code used:
-- Query1.sqlplan
-- 346195...
October 21, 2008 at 3:32 pm
Do all the bak files begin with seven letters then the date?
October 21, 2008 at 12:40 pm
Hey, that's pretty cool. There's more than one way to skin a cat!
October 21, 2008 at 11:28 am
Nevermind, got it working on my own.
Thanks for taking a look, though...
IF OBJECT_ID('dbo.fn_FormatSSN') IS NOT NULL
DROP FUNCTION dbo.fn_FormatSSN
GO
CREATE FUNCTION dbo.fn_FormatSSN (@Input NVARCHAR(MAX))
RETURNS NVARCHAR(MAX)
AS
BEGIN
...
October 21, 2008 at 11:20 am
Viewing 15 posts - 61 through 75 (of 198 total)