Viewing 15 posts - 1,096 through 1,110 (of 6,036 total)
Bruce-12445 (10/19/2016)
I'm trying to add a bit more info into the audit table by adding this:
SELECT client_net_address,local_net_address,host_name,original_login_name,login_name,program_name
FROM sys.dm_exec_connections SCON
OUTER APPLY sys.dm_exec_sessions SES
WHERE SCON.session_id = @@SPID
AND ...
_____________
Code for TallyGenerator
October 20, 2016 at 5:56 pm
Aaron, I know how exactly you can make them listen.
Go to the project management. Top level.
Ask them what are the expectations of the number of customers, transactions per day, other...
_____________
Code for TallyGenerator
October 20, 2016 at 5:46 pm
aaron.reese (10/20/2016)
_____________
Code for TallyGenerator
October 20, 2016 at 5:34 pm
csj (10/20/2016)
It is possible to add a new column, to modify a column and drop a column, while system_versioning is ON!!!
What happens to the historical data in the column when...
_____________
Code for TallyGenerator
October 20, 2016 at 4:50 pm
I guess, a simple INNER JOIN would be too trivial for you. 🙂
SELECT [Address_pk], [Address],
REPLACE([Address],ss.[PrimaryStreetSuffixName],ss.[PostalServiceStandardSuffixAbbreviation]) AS [AddressAbbreviated]
FROM [dbo].[Address] a
INNER JOIN [dbo].[StreetSuffix] ss on a.[Address] LIKE '% ' + ss.PrimaryStreetSuffixName...
_____________
Code for TallyGenerator
October 20, 2016 at 3:32 pm
Igor Micev (10/20/2016)
create procedure p_name(@id int, @name varchar(50)as
if @name is not null
select * from tableA where ID = @id and name = @name
else
select * from tableA where ID = @id
go
That's...
_____________
Code for TallyGenerator
October 20, 2016 at 4:12 am
Jay@Work (10/20/2016)
Hi, no the denormalised result set will go into a SQL table that will feed BI "bits"
How many columns in that denormalised table?
_____________
Code for TallyGenerator
October 20, 2016 at 1:14 am
Why can't you use INSTEAD OF trigger?
Then you could modify rows from [inserted] the way you wish, and only after that put them into the table.
No updates, no joins, no...
_____________
Code for TallyGenerator
October 20, 2016 at 12:47 am
You mentioned SSIS, so I assume you need to create some delimited file in the end.
If that's correct, then this should work for you:
SELECT Id, name, ColList
FROM msdb.sys.sysobjects o
CROSS...
_____________
Code for TallyGenerator
October 20, 2016 at 12:33 am
where ID = @id
and (name = @name or (name is null and @name is null))
_____________
Code for TallyGenerator
October 20, 2016 at 12:13 am
October 19, 2016 at 2:51 pm
October 19, 2016 at 2:10 pm
.NET classes are not tables.
At most, they are views.
Tables must represent entities and connections between entities.
Classes usually represent roles of entities in relation to other entities.
Say, class "Customer" represents a...
_____________
Code for TallyGenerator
October 18, 2016 at 12:07 am
deekadelic (10/17/2016)
use MainReport
select object_name(m.object_id), m.*
from sys.sql_modules m
where m.definition like N'%ImportJobRevenue%'
to find all references to the proc in...
_____________
Code for TallyGenerator
October 17, 2016 at 6:37 pm
whenriksen (10/13/2016)
...SELECT * FROM @T AS t
WHERE t.c IN ( 1, 2, 10 )
AND ISNUMERIC(c) =...
_____________
Code for TallyGenerator
October 13, 2016 at 3:03 pm
Viewing 15 posts - 1,096 through 1,110 (of 6,036 total)