Viewing 15 posts - 6,661 through 6,675 (of 8,760 total)
Quick thought, you can use something like the relevant part in this script
😎
SELECT
DB_NAME() ...
November 3, 2014 at 6:42 pm
Adding a little bit of tinkering based on the operator cost results in the previous post, mainly changing from the CASE to a WHERE clause for filtering. Not a big...
November 3, 2014 at 6:25 pm
dackenshire (11/3/2014)
I tried but it would need to be dropped and recreated to change the variable type. Shoot.I attached a screenshot of the table.
You should still change the data type...
November 3, 2014 at 12:11 pm
If you do then the trigger should work. Can you post a DDL (create table) script for the table?
😎
November 2, 2014 at 10:25 pm
Quick question, can you change the data type for the commenthtml column from TEXT to NVARCHAR(MAX)?
😎
November 2, 2014 at 9:36 pm
Quick thought, normally would do this using VBA function wrapper, especially if the output spans multiple cells and/or the procedure has parameters. Very powerful stuff if done properly.
😎
November 2, 2014 at 1:04 pm
Chipping in my 2 cents, using a version / source control is good where it is applicable or possible but when it isn't, a combination of bcp and a simple...
November 2, 2014 at 12:57 pm
Hi and welcome to the forum, here is a quick and straight forward sample, should be enough to get you passed this hurdle.
😎
Note: Suggest that you revise the design...
November 2, 2014 at 12:44 pm
Lynn Pettis (11/2/2014)
Eirikur Eiriksson (11/2/2014)
Quick suggestion, use the FIRSTROW = n, n = number of rows to skip😎
Actually, the n is the number of the row to start with. ...
November 2, 2014 at 7:48 am
Quick suggestion, use the FIRSTROW = n, n = number of rows to skip
😎
November 2, 2014 at 1:07 am
Jeff Moden (10/30/2014)
November 1, 2014 at 4:54 pm
Adding some gas supplies for the stove, first there are five methods for replacing logical operators or comparison operator combination equivalent thereof with a single comparison operator.
😎
USE tempdb;
GO
SET NOCOUNT ON;
...
November 1, 2014 at 4:40 pm
Looking at the XML and the expected results, it is apparent that something is missing in the description;-)
The code below is slightly verbose in order to be self explanatory, note...
November 1, 2014 at 3:11 am
Quick window function based solution with xml path concatenation, should get you passed this hurdle.
😎
USE tempdb;
GO
SET NOCOUNT ON;
IF OBJECT_ID('dbo.data_set') IS NOT NULL DROP TABLE dbo.data_set;
create table dbo.data_set (id int primary...
October 31, 2014 at 11:29 pm
Some additional knowledge/information/logic is needed to complete this as djj mentioned, here is some quick code to get you started.
😎
USE tempdb;
GO
SET NOCOUNT ON;
IF OBJECT_ID('dbo.Webs') IS NULL
BEGIN
Create Table dbo.Webs
(
FullURL nvarchar(255)
);
Insert...
October 30, 2014 at 11:04 am
Viewing 15 posts - 6,661 through 6,675 (of 8,760 total)