Viewing 15 posts - 91 through 105 (of 683 total)
Try this:
select convert(datetime, '01/09/2008 05:37', 103)
The style 103 indicates that you want to read the string you're passing through as if it was in the british datetime format.
Hope that helps.
Looks...
October 31, 2008 at 10:05 am
If you were using SQL Server 2005 I'd recommend setting up mirroring between the two sites and then manually failover to the second site.
As you're not using SQL 2005 then...
October 31, 2008 at 3:23 am
Muralidharan Venkatraman (10/30/2008)
yes, i did see the jobs complete successful but the table was not shipped to standby
Just because the jobs completed successfully doesn't necessarily mean that the log backups...
October 30, 2008 at 1:20 pm
Muralidharan Venkatraman (10/30/2008)
should be logged in. If so, it fails. Also, i...
October 30, 2008 at 10:54 am
The code you posted works fine for me. I just copied and pasted it in a query window in Management Studio and it works.
October 30, 2008 at 3:19 am
GilaMonster (10/29/2008)
UPDATE SomeTable
SET SomeColumn = REPLACE(SomeColumn,'P','')
WHERE SomeColumn...
October 29, 2008 at 9:53 am
Pooja_prasad (10/29/2008)
I know the above syntax but I got to know that there is an insert...set form also. Or is it that it is present only in MySQL and not...
October 29, 2008 at 5:31 am
Try this instead:
insert into contactinfo (FullName, Source, CreatedDate, ModifiedDate)
values ('XYZ', 'ABC', '2008-09-09 00:00:00.000', '2008-09-09 00:00:00.000')
October 29, 2008 at 4:47 am
Try this:
SELECT top 1 @a = name FROM SYS.parameters WHERE OBJECT_ID = OBJECT_ID('MQA.tsp_GetSubject')
October 29, 2008 at 4:27 am
Create the target table with an identity column for ProductId.... like so....
create table my_table
(
ProductId[int] identity(1,1),
ProducerId[int],
ProductName[varchar](50)
);
go
--and then to insert into it:
insert into my_table(ProducerId, ProductName)
select ProducerId, ProductName from my_view;
go
Hope that helps.
October 29, 2008 at 4:16 am
Taken from the following article: http://www.microsoft.com/whdc/system/platform/server/PAE/PAEmem.mspx
"When the physical RAM in the system exceeds 16 GB and the /3GB switch is used, the operating system will ignore the additional RAM until...
October 29, 2008 at 4:11 am
Garth Michel (10/28/2008)
October 28, 2008 at 1:29 pm
Garth Michel (10/28/2008)
SQLZ (10/28/2008)
Have you tried setting the transaction isolation level?
SET TRANSACTION ISOLATION LEVEL SERIALIZABLE
Do this inside the body of the stored proc, before you declare the cursor.
I did read...
October 28, 2008 at 10:20 am
The problem is probably related to the tables in the inner join having different collations. Or at least on the columns that you are joining.
Do an sp_help on the...
October 28, 2008 at 10:07 am
Viewing 15 posts - 91 through 105 (of 683 total)