Viewing 15 posts - 1 through 15 (of 24 total)
Hi Ryan,
A numeric(4,3) means that the total length of the value is 4 and the precision is 3. An example of this is 4.014.
With this in mind how would...
August 19, 2008 at 9:09 am
I'd use
O.Delivery_Date <= DATEADD(dd,7,O.Date_Order_Placed)
But both would work.
August 19, 2008 at 4:40 am
Good point on the SARG.
As an afterthought, if Date_Order_Placed is a datetime and delivery date just a date it should be:
O.Delivery_Date <= DATEADD(dd,1,O.Date_Order_Placed)
August 18, 2008 at 12:32 pm
You'll obviously have to replace with your column names....
SELECT
*
FROM
Orders O
WHERE
DATEDIFF(dd,O.Date_Order_Placed,O.Delivery_Date) <= 1
August 18, 2008 at 9:47 am
I do have the same thing with one of my servers, but it's on a different domain and I choose to specify connection credentials on each new session. I'll...
August 18, 2008 at 9:30 am
I think the question here is picking the lesser of two evils. With the disk configuration you have I think you have two choices.
1) Install MSDTC and SQL into...
August 18, 2008 at 8:01 am
You haven't got a where clause on your cursor definition, so no matter what is inserted into the table, the first part of the IF will run and the second...
August 18, 2008 at 6:30 am
Would I be correct in assuming each client has a different first two digits?
Unless I've missed something there is a much more economical way of doing this and I would...
August 18, 2008 at 6:14 am
Your Quorum disk should belong to the Cluster group.
I'd then put any physical drives that are you are going to use for SQL in the SQL Cluster group. You...
August 18, 2008 at 5:37 am
I know you didn't specifically ask, but you may want to look into changing the compatibility level of the database once restored in order to take advantage of all of...
August 18, 2008 at 5:31 am
Hi Niyala,
When you connect to the server in question, are you prompted for login credentials?
Adam
August 18, 2008 at 5:21 am
No problem.
Yes, that is correct. Basically, specifying "SELECT *" is saying return all columns from all of the tables in the query. You can replace the * with...
August 14, 2008 at 10:11 am
I'd imagine it's only trying to read the registry in an attempt to gather information on the environment it's running in. I've seen a few similar posts in an...
August 14, 2008 at 9:20 am
Hi Fosco,
That is highly likely the reason. You can use LEFT JOIN to select all records from the first table (on the left) and any matched records from the...
August 14, 2008 at 8:16 am
Hi Mattie,
From the code you've posted, each execution of stp_SpotsExtractUpdatePermFiles will only perfom one insert into SpotsWarrantsErrors.
Are you sure the stp sproc isn't being executed more than once and that...
August 14, 2008 at 6:45 am
Viewing 15 posts - 1 through 15 (of 24 total)