Viewing 15 posts - 181 through 195 (of 236 total)
You are almost certainly dealing with INTEGER arithmatic. The data fields you are referring to are most likely INTEGER fields. When arithmatic is performed on two integers, an...
June 9, 2010 at 2:16 pm
Ok, well I misunderstood but I think what I said still applies...
In order to modify extended properties, you need ALTER or CONTROL permission on the table in question. Those...
June 9, 2010 at 1:27 pm
If you're joining a non-indexed view against another non-indexed view, you're probably going to notice performance degredation. You'd probably be better off creating just one view that joins all...
June 9, 2010 at 9:37 am
Best practices dictates:
Use the EXECUTE AS clause in the stored procedure, and have it execute as a user with the proper permissions.
Create a role, and give it access to the...
June 9, 2010 at 9:16 am
The most obvious optimization would be to make sure Port_Timestamp is an index. Also, if the PortRecord table has more than the 3 fields you stated, you may want to...
June 8, 2010 at 2:29 pm
I welcome any input you can offer. Here is the stored procedure in its entirety:
CREATE PROCEDURE [dbo].[VMFG_UPSPackageConfig]
@partlist NVARCHAR(MAX),
@debug INT = 0
AS
--------------------------------------------------------------------
-- Table Declarations
--------------------------------------------------------------------
DECLARE @items TABLE...
June 8, 2010 at 8:06 am
SELECT ... INTO will create a table based on the data retreived from the SELECT clause. I use it when generating log tables. It works the first time...
June 8, 2010 at 7:47 am
Thanks for all the information.
Based on the information presented, it looks like I'd have to jump through a lot of hoops (that I don't necessarily want to jump through) in...
June 7, 2010 at 9:40 am
Case Qty is the number of items that make a case. Pallet Qty is the number of cases that make a pallet.
At the point in the code where I...
June 5, 2010 at 10:04 pm
The Kimball method is great (and it's probably what most of us use), but it's general purpose and system independant. SQL Server has been optimized to the point where...
June 4, 2010 at 12:30 pm
You really don't need to turn you dates into integer "date ids". SQL Server is highly optimized to use dates as indexes. Internally, they're stored as integers anyways,...
June 4, 2010 at 12:17 pm
timmy,
It's not just him, no one can help you solve your problem without enough information. That's just reality. As the owner of the problem, you may not know...
June 4, 2010 at 11:06 am
Length, Width and Height are the same for every distinct package type, but the data for that comes from somewhere else so I grab it all at once. Two...
June 4, 2010 at 5:43 am
From my experience I don't believe it is possible to insert a newline in a SQL email. I ran into this in the past. I just had to...
June 3, 2010 at 12:09 pm
No, you can't restrict sysadmin access from anything. They are the sysadmin, and have to be able to maintain the entire database. Using a schema is just best...
May 28, 2010 at 9:08 am
Viewing 15 posts - 181 through 195 (of 236 total)