Here's a few of the new posts today on the forums. To see more, visit the forums.
|
SQL Server 2017 - Development |
Report Development - Hi to all. I have not worked with SQL for a few years and am not familiar with the new development tools. I have downloaded Visual Studio 2017. I wanted to create a Report Project but do not see this option. Can you point me in the direction of a tool that will allow me […] |
Automate Import of LIBOR Rates - Does anyone have any recommendations for sites which publish the daily LIBOR rates in a form which is easy to consume and import? I want to automate this, ideally. |
SQL Server 2016 - Administration |
SSAS processing Cubes using DTExec vs. SSDT 2017 tools? - Hello We have Analysis Server cubes on SQL 2016/Windows 2019 environment. Using dtexec to process the weekly cubes often fails or if it succeeds then Last Update date is not stamped (Only Last processed date is refreshed) The Error from dtexec is: Description: Server: The current operation was cancelled because another operation in the transaction […] |
SQL Server 2016 - Development and T-SQL |
Replace cr/lf not working with Japanese characters - I tried many different ways and built a function to basically go character by character checking the unicode values of 13,10 but why doesn't this simply work. tried char(13/10), nchar(13/10), etc... SELECT REPLACE(REPLACE(txt,NCHAR(0x0D),''),NCHAR(0x0A),'') broke, REPLACE(REPLACE(wrks,NCHAR(0x0D),''),NCHAR(0x0A),'') wrks FROM ( SELECT NCHAR(65404) + NCHAR(13) + NCHAR(10) + NCHAR(65438) + NCHAR(65412) txt, N'test value' wrks ) data |
Administration - SQL Server 2014 |
Archive CLOB data - Dear All, How to archive a table having 10million records with one CLOB column? To select of 1 day records (approx~400) it takes around 5 minutes and without the CLOB column it completes under a second. |
Development - SQL Server 2014 |
substring + chrindex - Good morning all i need your expertise to help me on a code the goal is to extract part of a chain create table DATACONTENT ( line varchar(max) ) insert into DATACONTENT values ('\\A1-SRV-05\REPRISE-sollyaza\Allian_ged\NOVAXEL\ALLIAN_1\C842183\CARREFOUR SANTE REPRISE\160010210006\documents entrants\Courriers divers_12470290.pdf') insert into DATACONTENT values ( '\\A1-SRV-05\REPRISE-sollyaza\Allian_ged\NOVAXEL\ALLIANZ_1\CAL000010\Volvo Allianz\VAZP100027\documents entrants\001-Doc 02 mars 2018 à 1640_22459358.pdf') insert into DATACONTENT […] |
SQL 2012 - General |
Facing connectivity issues - Hi All, I am seeing below connectivity error while executing queries on a database. how can we fix this. ERROR: Transport-level error has occurred when receiving results from the server. (provider: TCP Provider, error: 0 - The specified network name is no longer available.) Brief background: If we connect to a jump server and […] |
SQL Server 2012 - T-SQL |
SPN troubles - once more... - HEllo, I've been looking trough the forums on topics about setting and removing SPN's In the end i've found a good tool that created a working SPN (Kerberos Configuration Manager - found it here http://houseofbrick.com/microsoft-made-an-easy-button-for-spn-and-double-hop-issues/ But because i'm often trying stuff it sometimes gets fd up... sorry.. The ony thing i'm left with now is 2 […] |
SQL Server 2019 - Development |
Unix Timestamp to Datetime Conversion - Hi, I have a table with one of the column [last seen] nvarchar datatype and data imported from .csv file. Data in the [last seen] column is in Unix Timestamp in MilliSecs format [1575944000000] I need to convert it from unix timestamp to datetime format. Tried changing the datatype of the column from nvarchar […] |
Storing results in tables with dynamic names - Hello, I have this loop which creates a bunch of matrices based on the month_nbr (in this case 1-36). What i want to do is to store the 36 results from this loop into separate tables with the names Matrix_1, matrix_2 and so on. I need these tables stored as i will multiply them using […] |
Help with SQL query - Hi Guys, Here is my "Sample" source data. ID,DKey,SKey,InvType ,PID,PAmount,CAmount,AAmount 1 ,123 ,456 ,Write-Off,789,$505 ,$767 ,$262 2 ,958 ,258 ,Invoice , , ,$621 , Here what I want or the end result ID,DKey,SKey,InvType ,PID,PAmount,CAmount,AAmount 1 ,123 ,456 ,Invoice , , ,$767 , 1 ,123 ,456 ,Write-Off,789,$505 , ,$262 2 ,958 ,258 ,Invoice , , ,$621 […] |
SSRS 2016 |
calculated field based on values - My report is based on a stored procedure and the columns are outputted to a table in the report. I would like to create a expression as a percentage which I require help with? At the moment, I have a shared dataset pointing to the SP, so if possible, can this expression be created in […] |
SSDT |
Dynamic Connection String for Dataflow Task - Hey Guys, I've been tasked with doing a task where I connect to a number of different sql servers, pull audit logs, and combine them into one table on our DBA instance. I've seen MANY posts about this online, read through, followed the steps that I can mirror on my own here but it doesn't […] |
Integration Services |
Data Stage to SSIS Migration. I want to use the existing unix scripts in SSIS - Hi, I am working on a project migrating from data stage to SSIS. There are several scrips written in Unix that I want to reuse in SSIS (if it ca be and if it's a good idea). Is there any way I can use the same in SSIS task or what should be the way […] |
SQL Server and Sharepoint |
Usage of Performance Point report on Share point site - I dont use share point regularly so this could be easy but struggling to find the answer. I am trying to find out who is using our sharepoint sites and i can see how to get audit data. This includes who is accessing documents, links etc. but we have few performance point reports (.aspx). This […] |