Viewing 15 posts - 376 through 390 (of 1,124 total)
LTRIM([FirstName]) == ""
LTRIM([FirstName]) != ""
LTRIM([FirstName]) == "SomeValue"
--Ramesh
April 1, 2009 at 8:12 am
Does this link helped you?
--Ramesh
April 1, 2009 at 4:22 am
I too had somewhat similar situation where I need to process a file (imported by the user) , then dump it in a table and return back data of that...
--Ramesh
April 1, 2009 at 3:58 am
Vijaya Kadiyala (3/31/2009)
HiRamesh, Instead of Unique Constraint why can't we have Unique Index??
Thanks -- Vijaya Kadiyala
There are no significant differences between creating a UNIQUE constraint and creating a unique...
--Ramesh
April 1, 2009 at 2:55 am
It means that the user already exists in the database to which you are trying to grant access. This happens when you restore a database with existing users, the...
--Ramesh
March 31, 2009 at 7:44 am
So, it means the the SQL Server is not running in AWE mode.
Run these T-SQL commands to enable AWE:
EXECUTE sp_configure 'show advanced options', 1;
GO
RECONFIGURE;
GO
EXECUTE sp_configure 'awe enabled', 1
GO
RECONFIGURE;
GO
After changing the...
--Ramesh
March 31, 2009 at 7:15 am
Do you see the message "Address Windowing Extensions enabled." in your sql server error logs?
--Ramesh
March 31, 2009 at 6:48 am
To backup a database on a network drive, you either have to map the network drive on the sql server or use the UNC path in the BACKUP statement. ...
--Ramesh
March 31, 2009 at 6:41 am
The "authentication mode" setting is for the server and not for the database.
The authentication information that you see in the database connection properties is about your current login...
--Ramesh
March 31, 2009 at 6:35 am
Though partitioning is the best option for archiving data, it is only available in Enterprise & Developer editions of SQL Server.
--Ramesh
March 31, 2009 at 6:09 am
Just as simple as this...
-- Adding constraint to an existing table
ALTER TABLE SomeTable WITH CHECK ADD CONSTRAINT [UK_SomeTable_SomeCompositeKey] UNIQUE( KeyColumn1, KeyColumn2 )
-- Adding constraint when creating new table
CREATE TABLE SomeTable
(
KeyColumn1...
--Ramesh
March 31, 2009 at 5:43 am
First of all, the query which I gave you will never return duplicate rows with same product and supplier, as you mentioned they are part of the composite key.
rajeevgupta40 (3/30/2009)
--Ramesh
March 31, 2009 at 5:35 am
I don't think one can change the limit of 8060 for ORDER BY clause because SQL Server internally creates intermediate work tables to do the sort operations.
The following article lists...
--Ramesh
March 31, 2009 at 5:10 am
Personally, I don't like writing everything in a single procedure. Instead, I write procedures according to their need and follow these standard rules for any basic table.
Take for an...
--Ramesh
March 31, 2009 at 4:56 am
You are welcome, and I'm glad I could help you.
--Ramesh
March 31, 2009 at 3:55 am
Viewing 15 posts - 376 through 390 (of 1,124 total)