Here's a few of the new posts today on the forums. To see more, visit the forums.
|
SQL Server 2017 - Administration |
Lincensing qn - All, Somewhat new to SQL server licensing. Do we have to license the sql server database used in landing area of a production data warehouse; the warehouse is one step downstream - landing area feeds to the warehouse while landing area gets its feeds from multiple sources. Can we use Developer edition for this landing […] |
SQL Server 2017 - Development |
sp_send_dbmail passing parameter to @query - I am trying to pass a parameter into the @query argument of sp_send_dbmail for my first time. Here is some code as a simple example: --drop table mydb.dbo.tmptable create table mydb.dbo.tmptable (idno int, namefld varchar(20), color varchar(20)) insert into mydb.dbo.tmptable select 1, 'elephant', 'gray' union all select 2, 'bear', 'black' union all select 3, 'cat', […] |
Stored Procedure Documentation - I have developed several stored procedures that will be utilized by developers on a project (surprise right?). My question is that I need to provide them with documentation about how the stored procedure works (including parameters and results). Does anyone have a "simple" template for creating this documentation? I do not want to make it […] |
SQL Server 2016 - Administration |
Temp db behavior....very simple question - When originally setting up Temp db..... I give it a size container of 8MB, with autogrowth of 2 MB, unlimited...total size of drive is 20 MB Actual size of tempdb at first is 3 MB My question: When the temp db is triggered to grow by 2 MB...does the original container of 8MB goto 10 […] |
Actively running Resource Hogs - I recently had an experience where I identified that there was a significant hole in my SQL Server troubleshooting toolset. I had a server that was consuming ~60% more CPU than it typically does. I have developed some fairly nice processes that capture completed queries with all the CPU/IO metrics. This has been extremely helpful […] |
SQL Server 2016 - Development and T-SQL |
Parse String Dilema - Hello, Try and try as I may, I'm struggling with this one. As the topic suggests, I have a name field which varies greatly. Basically, it's in the LastName, [space] FirstName format. However, many have middle initials, hyphenated last names, some are Juniors, some are III's you name it. Examples.... Doe, Jane Doe, Jane E […] |
Developing SSIS packages in VS 2019 and running them on SQL Server 2014 and 2016 - If I develop ssis packages in VS2019 will they be able to run on SQL Server 2014 and 2016? |
Developing SSIS packages in VS 2019 and running them on SQL Server 2014 and 2016 - If I develop ssis packages in VS2019 will the be able to run on SQL Server 2014 and 2016? |
Snapshot Isolation and DMVs - I recently noticed that DMVs, or at least sys.dm_db_partition_stats, does not respect snapshot isolation. I couldn't find anything describing this behavior in books online, so I was wondering if this is expected/desired behavior? Here are steps to follow if you'd like to repeat the behavior: Create a dummy table but don't add any values to […] |
Administration - SQL Server 2014 |
services not list in sql config mgr - Hi All, On one of the sql server machine, when I open the sql server configuration manager, I am not able to see sql server services. But if I open start->run->services.msc, I can see the services there. Why It is not showing up in SQL Server Configuration Manager, Anyone faced it ? Thanks, […] |
SQL 2012 - General |
Query Slow Result - hi , i getting result of query 65954 rows its take 20 seconds how i can i make query fast. |
Convert nchar to time and addition functionality - I have a scenario: I have a nchar field which is tagged as start time whos value is goes like this: 2300, 2330,0900,0300,1400 so on Other nchar field which is duration field & the values goes like 0300, 0600, 0400. My scenario is to add the starttime field and duration field to check if the […] |
Reporting Services |
SSRS - Formatting report to print as USPS postcards, example. - Hello all, I have to create an SSRS Report that will print as a USPS postcard, on both sides of a sheet of paper The rectangular postcard must follow the dimensions below: 4-1/4 inches high x 5-1/2 inches long The dimensions of the paper they will print on are: 8-1/2 inches high x 11 inches […] |
Powershell |
Using the values from a CSV file - Hi, I want to load a log so that I can see which bat file failed, and restart from that point. I'm struggling a bit with this, can anyone point me in the right direction? So far I have got: $csv = Import-Csv E:\Backup\Schdule_log.csv $csv $Failed = $csv.Batfile | Where-Object {$csv.Result -eq 'Failed'} But $Failed […] |
Analysis Services |
SSAS Remote Access - Hi all, I've been using Power Pivot and Power BI for some time and I have recently started rebuilding my data model in SSAS. I hadn't used SSAS before but I read about it a lot and saw some serious advantages. All those advantages are as good as I hoped: Partitions, Detail Rows expressions, etc. […] |