Try this:
UPDATE YourTable
SET Col2 = RIGHT(Col1,LEN(Col1)-CHARINDEX("https://stackoverflow.com/",Col1))
More Related Contents:
- Turning a Comma Separated string into individual rows
- Update a table using JOIN in SQL Server?
- Using T-SQL, return nth delimited element from a string
- SQL Update with row_number()
- How do I split a string so I can access item x?
- How can I remove duplicate rows?
- How to split a comma-separated value to columns
- SQL Server: Examples of PIVOTing String data
- What is the use of GO in SQL Server Management Studio & Transact SQL?
- SELECT DISTINCT on one column
- Confused about UPDLOCK, HOLDLOCK
- Retrieve column definition for stored procedure result set
- SQL Server split CSV into multiple rows
- Using varchar(MAX) vs TEXT on SQL Server
- Change Notification with Sql Server 2008
- How do you create a yes/no boolean field in SQL server?
- Connecting to MS SQL Server with Windows Authentication using Python?
- Using COALESCE function to make values separated with commas
- TSQL Email Validation (without regex)
- How to programmatically create an ODBC Linked Table to a SQL Server View and have it be editable?
- How to find the port for MS SQL Server 2008?
- Assign result of dynamic sql to variable
- How do I create a multiple-table check constraint?
- Drop primary key using script in SQL Server database [duplicate]
- OR Operator Short-circuit in SQL Server
- Removing the remembered login and password list in SQL Server Management Studio
- T-SQL XOR Operator
- SQL Server: convert ((int)year,(int)month,(int)day) to Datetime [duplicate]
- Convert from DateTime to INT
- Is it possible to use user defined aggregates (clr) with window functions (over)?