Viewing 15 posts - 991 through 1,005 (of 1,065 total)
It is possible.
delete from TableName where ColumnName < getdate() - 31
June 12, 2008 at 12:56 am
>> to prevent users from entering whatever they like for an email address.
It is better to do this validation in the front end.
June 12, 2008 at 12:47 am
In my openion, second one is better. The key word 'AS' serves as a hint. It is easy to guess that mycolumnname is an alias.
June 11, 2008 at 1:47 am
1) Add linked server
2) SELECT column_list FROM Server.Database.Schema.Table
June 11, 2008 at 1:27 am
Why is your client changing from DAS to SAN?
Is it for clustering?
June 10, 2008 at 5:16 am
Do you mean softcopy (PDF) in the Net?
I suggest you to purchase the hardcopy (book). It will be convenient to read. You can underline the points that are usefull to...
June 9, 2008 at 3:55 am
Use Surface Area Configuration to enable remote connections.
June 9, 2008 at 1:04 am
1) If you use .BAK extension, you can configure Database Maintenance Plan to delete older backup files.
2) File name extension should not affect the file content. The parameters will determin...
June 8, 2008 at 11:41 pm
nchar,nvarchar, and ntext are unicode data types.
They are used to support multiple languages.
Storage size is double of normal data types.
June 6, 2008 at 7:05 am
Use sp_changedbowner to set the database ower name.
Suresh
June 6, 2008 at 6:56 am
If you are storing the date and time of insertion in a column, you can use following query:
select * from TableName where ColumnName >= dateadd(mi, -30, getdate())
June 6, 2008 at 4:26 am
You have to write seprate UPDATE/DELETE statements to update/delete rows from each table.
INNER JOIN can be used in UPDATE/DELETE statements.
June 5, 2008 at 8:35 am
INSERT INTO #TEMPTBL (formula, final_formula) VALUES (@FORMULA, @FINAL_FORMULA)
June 5, 2008 at 7:03 am
select PersonId, count(PersonId) as NullCount
from dbo.Table_1
where value is null
group by PersonId
June 5, 2008 at 6:56 am
1) Create a temporary table with required columns (3 columns for given year, 3 for previous year).
2) Insert values to the first 3 columns for the date range passes as...
June 5, 2008 at 4:48 am
Viewing 15 posts - 991 through 1,005 (of 1,065 total)