Viewing 15 posts - 301 through 315 (of 444 total)
For such value, u need a Cut OFF date, from onwards, you can calculate the miiseconds till the required date, for example,
FirstDate = getdate() - 1
Seconddate = getdate()
Now, you can...
September 29, 2008 at 12:15 am
In Management Studio help menu, there is a direct link to9 the tutorials...
Short Cut: Ctrl+Alt+F5
Atif Sheikh
September 29, 2008 at 12:08 am
Job is the best solution...
make a Sp for you delete command. Make sure that the sp do not accepts parameters and no output parameter is used.
Associate this sp with a...
September 3, 2008 at 1:49 am
To be on the safe side, do takle care of the '(' and ')' when using mathematical expression.
Its not the case in your scenario, but COULD lead you to...
September 2, 2008 at 4:07 am
SET ANSI_NULLS Specifies SQL-92 compliant behavior of the Equals (=) and Not Equal to (<>) comparison operators when used with null values.
Can change the results if the column(s) used in...
September 2, 2008 at 3:35 am
Check for Browser Service running on both SQL Servers...
Also, the Remote connection are allowed on both servers.
Atif Sheikh
September 2, 2008 at 3:27 am
How about this code...
Declare @a varchar(10)
Set @a = '100+101+12'
while @a <> ''
begin
if charIndex('+',@a) > 0
begin
Select SubString(@a,0,charIndex('+',@a))
Set @a = SubString(@a,charIndex('+',@a)+1,Len(@a))
end
else
begin
Select @a
Set @a = ''
end
end
use Your Field name against @a variable
Atif...
September 2, 2008 at 3:18 am
Go with the followinf case statement...
Select * from Customer_Repo
Order By
Case When @OrderColumn='CustomerName' Then CustomerName End,
Case...
September 1, 2008 at 1:48 am
Nicely Explained... the question needed such an explanation as all the options would have worked for the scenario but with some limitations and issues.
But I am still confused about DROPCLEANBUFFERS...
September 1, 2008 at 1:20 am
I think the best strategy is to create Clustered Index on a column(s) that gives you a unique value per row.
You should go for indexes on the columns that...
August 20, 2008 at 9:54 pm
I think I accessed this post by SSC homepage....
I really didnt see the post started in 2005...
Atif Sheikh
August 20, 2008 at 9:42 pm
http://msdn.microsoft.com/en-us/sqlserver/default.aspx
BOOKS ONLINE,
Go to Google, type SQL Server and you will get alot...
ATIF SHEIKH
August 13, 2008 at 4:46 am
For your son, soft toys will be the best choice (for me atleast).
BUT, first two birthdays of your son / daughter(s) are dedicated to your wife and 3+ children (my...
August 11, 2008 at 4:33 am
Viewing 15 posts - 301 through 315 (of 444 total)