Viewing 15 posts - 6,151 through 6,165 (of 8,761 total)
Quick suggestion, you can try to search in any/all temp folders on the workstations used to develop those procedures, there is a slim chance that you might find the code...
February 19, 2015 at 1:41 am
Throwing my spanner in the works, what does the following code return on your system?
😎
USE tempdb;
GO
SET NOCOUNT ON;
DECLARE @SAMPLE_SIZE INT = 1000000;
DECLARE @BEGIN_VAL INT = 1;
DECLARE @END_VAL ...
February 18, 2015 at 12:35 pm
ChrisM@Work (2/18/2015)
SELECT
a.[Pax ID],
a.[Flight Date],
a.[Flight Number],
[Last Mod Date] = CASE WHEN x.[Pax ID] IS NULL THEN a.[Last Mod Date] ELSE x.[Last Mod Date] END,
[Status] = CASE WHEN x.[Pax...
February 18, 2015 at 10:28 am
Quick solution using the row_number function
😎
USE tempdb;
GO
SET NOCOUNT ON;
IF OBJECT_ID(N'dbo.PNRAdds') IS NOT NULL DROP TABLE dbo.PNRAdds;
CREATE TABLE [dbo].[PNRAdds](
[Pax ID] [int] NULL,
[Flight Date] [smalldatetime] NULL,
[Flight Number] [varchar](10) NULL,
[Last Mod Date]...
February 18, 2015 at 1:40 am
For fun, here is a 2012 and later method using TRY_CONVERT
😎
USE tempdb;
GO
SET NOCOUNT ON;
DECLARE @Account TABLE(AccountNo varchar(3), MasterAccount varchar(10) )
INSERT INTO @Account
SELECT 'ABC','0000000ABC' UNION ALL
SELECT 'DEF','0000000DEF' UNION ALL...
February 18, 2015 at 1:07 am
The quick answer is yes, connection and users have to be set up, you might want to look into linking to AD if there are many users
:cool:y,
February 16, 2015 at 2:44 pm
TomThomson (2/16/2015)
ChrisM@Work (2/16/2015)
TomThomson (2/16/2015)
...
Stop digging, Tom! For goodness' sake, you're coming across as a cranky old fella with a short fuse. This is not what we are used to seeing...
February 16, 2015 at 12:24 pm
Quick suggestion, query the sys.sql_dependencies view
😎
SELECT
OBJECT_NAME(SD.object_id) AS OBJ_NAME
,OBJECT_NAME(SD.referenced_major_id) AS DEPENDENT_NAME
,SD.class_desc...
February 14, 2015 at 10:45 pm
TomThomson (2/14/2015)
Eirikur Eiriksson (2/7/2015)
TomThomson (2/7/2015)
Grant Fritchey (2/5/2015)
Really? Yankees fans? Are they even human?Usually not - they're mostly American.
Tom, must say that I find this comment totally inappropriate
😎
How can it...
February 14, 2015 at 11:40 am
Quick answer, NCD (no can do), suggest uninstalling installing and attach the DBs
😎
February 14, 2015 at 8:16 am
Lynn Pettis (2/14/2015)
... Mark one off, 14 days on the calendar to go. 14 days on the calendar to go, 14 days to go, ...
Only two weeks, almost there!
😎
February 14, 2015 at 8:07 am
Further on Luis's post, simply look in the code for the pattern division by a column or a variable such as X / [column_name]
😎
February 13, 2015 at 2:03 pm
Luis Cazares (2/12/2015)
djj (2/12/2015)
Ed Wagner (2/12/2015)
Sioban Krzywicki (2/12/2015)
Eirikur Eiriksson (2/12/2015)
Brandie Tarvin (2/12/2015)
jasona.work (2/12/2015)
Brandie Tarvin (2/12/2015)
jasona.work (2/12/2015)
February 12, 2015 at 2:01 pm
Sioban Krzywicki (2/12/2015)
Ed Wagner (2/12/2015)
Sioban Krzywicki (2/12/2015)
Eirikur Eiriksson (2/12/2015)
Brandie Tarvin (2/12/2015)
jasona.work (2/12/2015)
Brandie Tarvin (2/12/2015)
jasona.work (2/12/2015)
February 12, 2015 at 1:57 pm
Slight side step from Alan's brilliant answer and pitching a retro "blast from the past", here is an example that checks if the root tag has a closing tag, the...
February 12, 2015 at 12:40 pm
Viewing 15 posts - 6,151 through 6,165 (of 8,761 total)