Viewing 15 posts - 18,421 through 18,435 (of 26,489 total)
mpeters-878100 (11/11/2009)
November 11, 2009 at 5:39 pm
I agree with Sergiy, especially if you have numerous queries that make use of the eventDueDate column in the WHERE clause of queries or if this is a frequent path...
November 11, 2009 at 5:31 pm
Is this actually being run from within a stored procedure?
If so, may I suggest that you read the second article I reference in my signature block below regarding performance issues?...
November 11, 2009 at 4:43 pm
If I may, if you have room on the database server to complete your backup locally, I'd do that and THEN move the backup file to the other server. ...
November 11, 2009 at 4:37 pm
A full backup does not truncate the transaction log. This is only done by a backup log (transaction log backup). Also, please understand that a log truncation is...
November 11, 2009 at 4:32 pm
JakesterUK (11/11/2009)
ALTER PROCEDURE CheckContext
@CxID int,
...
November 11, 2009 at 4:21 pm
Assuming that SSMS is running on your PC and you can connect to the SQL Server instance in question from SSMS, in a query window run this:
select @@servername
November 11, 2009 at 4:15 pm
It would help if you provided the actual error message you are getting.
November 11, 2009 at 1:58 am
Slightly confused here, could you explain your problem a little more? It may help to have the DDL for the table involved plus any code you have already attempted...
November 11, 2009 at 1:50 am
It would help to see the actual code, the DDL for the tables involved, some sample data for the tables involved, and finally the expected results based on the sample...
November 11, 2009 at 1:48 am
Does this code help you?
declare @MyDate datetime;
set @MyDate = getdate();
select convert(varchar(30), @MyDate, 113);
select case when datepart(hh, @MyDate) > 12 then replace(convert(varchar(30), @MyDate, 113), cast(datepart(hh, @MyDate) as varchar), cast((datepart(hh, @MyDate) -...
November 11, 2009 at 1:45 am
Are you sure you are trying to install SQL Server 2005 Standard Edition? It almost looks like you are trying to install a web edition.
Have you checked the setup...
November 11, 2009 at 1:28 am
Schemas can be used to simplify permissions for different users. For example, you could have schemas from Sales, Purchasing, Inventory; and the users in those departments could be granted...
November 11, 2009 at 1:24 am
SQL Learner-684602 (11/10/2009)
hi all,how can i get the precision part from this
select cast(73982597/1000 as numeric(8,3))
thanks in advc
This is basically the same question you asked here just worded slightly differently.
Same thing,...
November 10, 2009 at 2:27 pm
SQL Learner-684602 (11/10/2009)
i have to cast a column like thisselect cast(73982597/1000000 as numeric(8,6))
it gives me 73.000000
but i want result as 73.982597
any help
thanks
Integer arthimetic. Do this:
select cast(73982597/1000000.0 as numeric(8,6))
November 10, 2009 at 2:21 pm
Viewing 15 posts - 18,421 through 18,435 (of 26,489 total)