DECLARE @test nvarchar(100)
SET @test = 'Foreign Tax Credit - 1997'
SELECT @test, left(@test, charindex('-', @test) - 2) AS LeftString,
right(@test, len(@test) - charindex('-', @test) - 1) AS RightString
DECLARE @test nvarchar(100)
SET @test = 'Foreign Tax Credit - 1997'
SELECT @test, left(@test, charindex('-', @test) - 2) AS LeftString,
right(@test, len(@test) - charindex('-', @test) - 1) AS RightString
Obtenga información sobre cómo usar SQL Server Management Studio
Cómo mostrar o mostrar la barra de herramientas de acceso rápido en Word, Excel y PowerPoint
Arquitectura SQL Server AlwaysOn (grupo de disponibilidad) e instalación paso a paso:3 pasos de conmutación por error manual
¿Cómo leer y actualizar la base de datos SQLite usando ListView en Android?