Viewing 15 posts - 541 through 555 (of 1,065 total)
A few questions before giving definitive advice...
Will you be recording EXACTLY the same sort of information (e.g. name, address, dob) for Father and Son, or will one have more/less information...
August 6, 2009 at 7:42 am
Jeff Moden (8/5/2009)I do wish that MS would come out with type inheritance in the definition of parameters and variables.
Isn't that what UDTs go some way to providing, as long...
August 5, 2009 at 10:30 am
AND TOT.TaxTotal '0.00'
Take the quotes off
AND TOT.TaxTotal 0.00
and it should work.
August 5, 2009 at 7:04 am
You can do it by using the OUTPUT clause...
CREATE TABLE a (id int, descr varchar(255))
GO
CREATE TABLE b (id int, descr varchar(255))
GO
INSERT a output inserted.id, inserted.descr into b values(1,'Description')
select *...
August 5, 2009 at 6:45 am
... or Gail's article
http://sqlinthewild.co.za/index.php/2009/03/19/catch-all-queries/
August 5, 2009 at 6:34 am
It can be done, but the mirroring and replication must be set up in a specific way.
From your brief description, I suspect it won't work.
Have a lookat this link...
August 5, 2009 at 6:26 am
Wilfred van Dijk (8/5/2009)
"No ?? .... Aha! My appointment is B5010D2A-F8F9-482B-AC29-C1351ECE52C8"
"Oh yes, you're pregnant, let's see how the...
August 5, 2009 at 4:06 am
Wilfred van Dijk (8/5/2009)
Ever thought about the datatype "'UNIQUEIDENTIFIER" ?
The reason why ,I have to use u is because my supervisor made request for the apppointment number format to start...
August 5, 2009 at 3:17 am
No. You will need to change the input parameters for those stored procedures from 12 to 15 as well. Just changing the data in the table will not be enough....
August 5, 2009 at 1:57 am
Simplest way is
SELECT LastName + ', ' + FirstName+ ', ' + COALESCE(MiddleInit,'') AS Name
August 4, 2009 at 7:23 am
If you make your primary key in both tables CLUSTERED (which would be a reasonable choice in this case given that some of the queries are ORDERing/GROUPing by locid), the...
August 4, 2009 at 6:45 am
santhosh (8/4/2009)
Data file has an autogrowth set by 1 MB
Ouch! If the file has grown from 40gb to 75gb by 1mb a time, then you could have 35,000 file...
August 4, 2009 at 4:49 am
santhosh (8/4/2009)
If this is the freespace then how do I reclaim it ??? Or Is there a need to reclaim it from the performance point of view ??
Yes, that is...
August 4, 2009 at 4:18 am
Can you provide a bit more detail...what has grown to 75GB? What size is the database itself? How much space is free in the database? What size is the transaction...
August 4, 2009 at 3:12 am
Is there no performance hit because of using UNION?
SQL Server is obviously having to run 2 queries instead of one... but each of these queries should consume less resources...
August 3, 2009 at 8:24 am
Viewing 15 posts - 541 through 555 (of 1,065 total)