Click here to Skip to main content
15,903,728 members
Home / Discussions / Database
   

Database

 
GeneralRe: SQL Server 2000: Login failed for user ' ' Pin
Nada Adel23-Feb-09 2:33
Nada Adel23-Feb-09 2:33 
GeneralRe: SQL Server 2000: Login failed for user ' ' Pin
Rob Philpott23-Feb-09 2:57
Rob Philpott23-Feb-09 2:57 
GeneralRe: SQL Server 2000: Login failed for user ' ' Pin
Nada Adel23-Feb-09 3:08
Nada Adel23-Feb-09 3:08 
QuestionParameter Multivalue Pin
Hakmeh Mohannad23-Feb-09 1:01
Hakmeh Mohannad23-Feb-09 1:01 
AnswerRe: Parameter Multivalue Pin
Wendelius23-Feb-09 8:50
mentorWendelius23-Feb-09 8:50 
QuestionSQL LOGIC Pin
Vimalsoft(Pty) Ltd23-Feb-09 0:28
professionalVimalsoft(Pty) Ltd23-Feb-09 0:28 
AnswerRe: SQL LOGIC Pin
Wendelius23-Feb-09 8:28
mentorWendelius23-Feb-09 8:28 
GeneralRe: SQL LOGIC Pin
Vimalsoft(Pty) Ltd23-Feb-09 19:28
professionalVimalsoft(Pty) Ltd23-Feb-09 19:28 
hi Mika

Thank you for your response, i have came with the Following and it seems to work.

declare @S as nvarchar(63)
set @S = '10101010101010'

declare @NS as nvarchar(128)
set @NS=''
declare @Len as int
SET @Len = LEN(@S)

declare @Counter as int
SET @Counter = 1
WHILE @Counter < = @Len
BEGIN
	if (SUBSTRING(@S,@Counter,1)='1')
		set @NS = @NS + ' ' + convert(nvarchar,@Counter)
	SET @Counter = @Counter + 1
END
select @NS


What do you think about it

Thank you

Vuyiswa Maseko,

Few companies that installed computers to reduce the employment of clerks have realized their expectations.... They now need more and more expensive clerks even though they call them "Developers" or "Programmers."

C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.tiyaneProperties.co.za
vuyiswa@its.co.za
www.ITS.co.za

GeneralRe: SQL LOGIC Pin
Wendelius23-Feb-09 20:17
mentorWendelius23-Feb-09 20:17 
GeneralRe: SQL LOGIC Pin
Vimalsoft(Pty) Ltd23-Feb-09 20:35
professionalVimalsoft(Pty) Ltd23-Feb-09 20:35 
GeneralRe: SQL LOGIC Pin
Wendelius23-Feb-09 22:49
mentorWendelius23-Feb-09 22:49 
QuestionSQL Server 2008 Remote Debugging Pin
cfoxtrot22-Feb-09 21:08
cfoxtrot22-Feb-09 21:08 
AnswerRe: SQL Server 2008 Remote Debugging Pin
Wendelius23-Feb-09 9:02
mentorWendelius23-Feb-09 9:02 
QuestionI need Websit that compare SQL server - Oracle - Access Pin
E_Gold22-Feb-09 1:18
E_Gold22-Feb-09 1:18 
AnswerRe: I need Websit that compare SQL server - Oracle - Access Pin
riced22-Feb-09 2:19
riced22-Feb-09 2:19 
GeneralRe: I need Websit that compare SQL server - Oracle - Access Pin
Wendelius22-Feb-09 2:26
mentorWendelius22-Feb-09 2:26 
AnswerRe: I need Websit that compare SQL server - Oracle - Access Pin
Wendelius22-Feb-09 2:24
mentorWendelius22-Feb-09 2:24 
GeneralRe: I need Websit that compare SQL server - Oracle - Access Pin
E_Gold22-Feb-09 4:45
E_Gold22-Feb-09 4:45 
GeneralRe: I need Websit that compare SQL server - Oracle - Access Pin
Wendelius22-Feb-09 7:27
mentorWendelius22-Feb-09 7:27 
QuestionSQL Server Inventory and Database Documentation Pin
DrMaltz20-Feb-09 18:27
DrMaltz20-Feb-09 18:27 
AnswerRe: SQL Server Inventory and Database Documentation Pin
Wendelius20-Feb-09 20:45
mentorWendelius20-Feb-09 20:45 
Questionsqlite problem Pin
mirko8620-Feb-09 5:47
mirko8620-Feb-09 5:47 
AnswerRe: sqlite problem Pin
Wendelius20-Feb-09 5:56
mentorWendelius20-Feb-09 5:56 
GeneralRe: sqlite problem Pin
mirko8620-Feb-09 6:17
mirko8620-Feb-09 6:17 
GeneralRe: sqlite problem Pin
Wendelius20-Feb-09 20:48
mentorWendelius20-Feb-09 20:48 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.