Quantcast
Channel: Consulta Substring
Browsing all 4 articles
Browse latest View live

Consulta Substring

Gregorio,      Se isso é um XML é melhor você trabalhar com as ferramentas de XML do SQL Server...      Veja um exemplo retirado do Books Online:DECLARE @idoc int DECLARE @doc varchar(1000) SET @doc...

View Article



Consulta Substring

declare @text varchar(8000), @InicialString as int, @finalString as int set @InicialString = LEN('<dhRecbto>') set @finalString = LEN('/<dhRecbto>') set @text =...

View Article

Consulta Substring

Gregorio, boa tarde,Sabemos que a posição inicial é o próximo caractere após a tag "<dhRecbto>", também sabemos que o tamanho da data e o horário é 19 posições.Segue um exemplo:CREATE TABLE...

View Article

Consulta Substring

Pessoal, preciso fazer uma consulta que me retorne parte de um campo.........<dhRecbto>2012-05-21T09:31:24</dhRecbto>......Preciso retornar a data e o horário desse texto, porém não existe...

View Article
Browsing all 4 articles
Browse latest View live




Latest Images