Viewing 15 posts - 211 through 225 (of 444 total)
Very useful information.
Thanks.
May 10, 2009 at 10:40 pm
http://www.microsoft.com/sqlserver/2008/en/us/default.aspx
Another Forum... for 2000 - 2005 difference
http://www.dotnetspider.com/resources/3018-Differences-between-SQL-Server--SQL-Server.aspx
May 8, 2009 at 3:26 am
This type of tricky questions clicks the refresh button of mind.
Nice...
May 6, 2009 at 10:14 pm
The question looks like this (at least on my PC)...
SELECT CONVERT(datetime,-1)
UNION
SELECT CONVERT(datetime,0)+CONVERT(datetime,-1)
UNION
SELECT CONVERT(datetime,-1)-CONVERT(datetime,0)
UNION
SELECT CONVERT(datetime,0)-CONVERT(datetime,1)
UNION
SELECT CONVERT(datetime,0)-1
Am...
May 6, 2009 at 10:10 pm
SELECT do not change the value if it is not initialized by the statement. Also, if the multiple records returned from the SELECT statement, the value of last recod is...
May 6, 2009 at 10:02 pm
The given code gives error that is NOT the option in the provided options...
The Error is :
Msg 102, Level 15, State 1, Line 1
Incorrect syntax near '<'.
May 6, 2009 at 9:41 pm
You are already performing th etrick in Option 1:
declare @AssetTable(AssetId INT,Id INT IDENTITY(1,1))
INSERT INTO @AssetTable(AssetId)
SELECT AssetId FROM AssetUser WHERE UserId=1
Why are you inserting the AssetIDs in a temporry table?
Why...
May 4, 2009 at 3:52 am
Very Informative Article. And the most appreciating thing is that the writer have clearly mentioned the pros and cons of the subject with respect to the latest release of SQL...
May 4, 2009 at 3:43 am
Sorry... Disn't told you the usage in your scenario,
here it is...
Declare @v1 varchar(20)
Declare @v2 varchar(1000)
Set @v1 = '1,Joy~2,Jack~3,Rozy'
Select Left([value],charindex(',',[value])-1) as ID,
right([value],len([value]) - charindex(',',[value])) as val
from dbo.fnSplit(@v1,'~')
May 4, 2009 at 1:14 am
Try this Function
set ANSI_NULLS ON
set QUOTED_IDENTIFIER ON
go
-- Select * From [dbo].[fnSplit] ('A,b' , ',')
ALTER FUNCTION [dbo].[fnSplit]
(@pString varchar(5000),@pSplitChar char(1))
returns @tblTemp table (tid int,value varchar(1000))
as
begin
declare @vStartPosition ...
May 4, 2009 at 1:12 am
What a co-incidence...
On thursday, I was struggling to get the Detailed information for each column in sys.sysprocesses. And here we are....
Very useful article, especially for me.
Thanks
May 4, 2009 at 12:12 am
Very Tricky...
The last query DO NOT Execute due to the the @query variable declared as varchar(20)
if You declare the @query variable as varchar(25), it executes.
Nice...
May 4, 2009 at 12:03 am
DELETE DAO...fnb_debtor_branchmapping
FROM fnb_debtor_branchmapping_sync AS a
Inner Join DAO...fnb_debtor_branchmapping d on d.debtor_code=a.debtor_code
d.branch_code=a.branch_code
Even I get confuse in aliases when use FROM in DELETE and UPDATE.
April 30, 2009 at 4:08 am
You can Use APEX DB Documenter to generate the HTML of the database. Then host the HTMLs on any central location.
This would possibly solve your problem.
April 30, 2009 at 4:04 am
Viewing 15 posts - 211 through 225 (of 444 total)