Problems displaying this newsletter? View online.
SQL Server Central
Featured Contents
Question of the Day
The Voice of the DBA
 

A Prompt Engineer

No, Redgate Software isn't hiring for SQL Prompt. I'm sure quite a few of you depend on SQL Prompt and would like more engineers working on it. Maybe a few of you would find that an interesting piece of software to work on.

Rather, a Prompt engineer is someone that works with AI, trying to get a system to produce better results. I can't decide if this sounds like an interesting job that stretches your brain or the equivalent of a mediocre developer that just keeps copying something from Stack Overflow, hitting compile, getting an error, and repeating that cycle.

I can picture a scientist using their voice to continually correct some AI system by saying "no, that's not quite right. I want to see more blue" or some other type of guidance. Is this job the equivalent of raising a digital toddler?

I actually found one of these jobs on Indeed.com. For a company in San Francisco, a hybrid position paying between US$175k-335k to help create steerable AI systems. I'm not entirely sure what this is, but at that pay rate, it is tempting to learn.

I think AI systems are fascinating, especially for someone that has done some development and can see how difficult it would be to specify an algorithm that can handle some tasks. Like composing some prose result. Or suggesting code based on what you've typed. These are some handy features that have been added to some IDEs and services.

GitHub CoPilot is interesting, and if you haven't tried it, I think it helps Java/C#/app programmers. Go watch some videos or sign up for a trial. I am not sure about these helping us in database work. There is probably a little more work needed before an AI delivers help for your particular database issue. However, I'll be testing and working with some tools to see what I think.

If you are interested in AI and have a lot of patience to train models, and a lot of patience to work on data cleansing and loading, then maybe you can find a new career in AI. It might be a fad, but I don't think it will ever go away, and I do think there will be a lot of opportunities in this space in the next decade.

Note: If you find this interesting, I had a discussion recently with a few others in a webinar.

Steve Jones - SSC Editor

Join the debate, and respond to today's editorial on the forums

 
 Featured Contents
SQLServerCentral Article

How to work with ChatGPT in Visual Studio Code

Daniel Calbimonte from SQLServerCentral

Learn how you can connect ChatGPT to VS Code and use it to help you fix your code.

External Article

Enhancing SSIS ETL Tools with SolarWinds Task Factory

Additional Articles from MSSQLTips.com

SQL Server Integration Services (SSIS) has been the de facto ETL tool for over 15 years for DBAs, Developers and Business Intelligence Professionals to extract, transform and load data (i.e. ETL tasks) for specific business processes, data-centric applications, data warehousing, reporting and data exchange between organizations. SSIS is a great product with high adoption across the globe, but has some limitations related to modern data sources, performance and streamlining tedious tasks. How can we overcome these limitations and have SSIS provide greater value?

External Article

Why a monitoring tool is an essential tool for growing server estates

Additional Articles from Redgate

As we continue into the era of supporting more and more database platforms in our data estates, self-monitoring goes from being a very difficult task to a truly daunting task. I am personally advanced at diagnosing Microsoft SQL Server performance issues, but when that PostgreSQL server gets added, I just have to hope nothing goes wrong for a few years while I learn.

Blog Post

From the SQL Server Central Blogs - Why i use a smaller docker image part I

Adetokunbo Ige from Adetokunbo Ige

What is Docker? Docker is a famous platform for building, shipping, and running container applications. What are containers? Containers are a way to package software in a portable and...

Blog Post

From the SQL Server Central Blogs - New Job -> Week 2 -> Creating a Checklist

hellosqlkitty from SQLKitty

This is part of a series of new job blog posts. You can find them all here. Last week was the first week of the rest of my life....

Pro Encryption in SQL Server 2022

Pro Encryption in SQL Server 2022: Provide the Highest Level of Protection for Your Data

Additional Articles from SQLServerCentral

This in-depth look at the encryption tools available in SQL Server shows you how to protect data by encrypting it at rest with Transparent Data Encryption (TDE) and in transit with Transport Level Security (TLS). You will know how to add the highest levels of protection for sensitive data using Always Encrypted to encrypt data also in memory and be protected even from users with the highest levels of access to the database. The book demonstrates actions you can take today to start protecting your data without changing any code in your applications, and the steps you can subsequently take to modify your applications to support implementing a gold standard in data protection.

 

 Question of the Day

Today's question (by Steve Jones - SSC Editor):

 

OPENROWSET DNR

This file in this code doesn't exist, but can I compile this code, with deferred name resolution working for OPENROWSET?
CREATE PROCEDURE MyOpenRowSetTest4
AS
BEGIN
    SELECT * FROM OPENROWSET(BULK 'd:\downloadedfiles\filethatdoesntexist.txt', SINGLE_CLOB) MyFile 
END

Think you know the answer? Click here, and find out if you are right.

 

 

 Yesterday's Question of the Day (by Steve Jones - SSC Editor)

Memory Grant Feedback Changes in SQL Server 2022

What changed with regards to the Intelligent Query Processing Memory Grant Feedback feature in SQL Server 2022?

Answer: Memory Grant Feedback is persisted in the QDS

Explanation: In SQL Server 2022, memory grant feedback is persisted in the QDS and used to compare to cached plans. Ref: Memory Grant Feedback - https://learn.microsoft.com/en-us/sql/relational-databases/performance/intelligent-query-processing-feedback?view=sql-server-ver16#memory-grant-feedback

Discuss this question and answer on the forums

 

 

 

Database Pros Who Need Your Help

Here's a few of the new posts today on the forums. To see more, visit the forums.


SQL Server 2017 - Administration
reads for DMVs - Hi All, I have created a test table with rowsize ~8K. I have inserted 2 rows and when I read data from the table, then it essentially has to show me 2 logical reads but it showing 6. why is it so? Am I missing anything? Second question is why sp_whoisactive is showing this spid […]
predictive query plan - Dear Friends, Please advise if there is a way to get a query plan for a query without running the query.Thank you in advance. Thanks and best regards
Significance of Historical waits report in SQL server Performance dashboard - I have the following historical wait report for my SQL server. I have noticed that Wait Category Tran Log IO is consuming 27.09% of percentage time followed by Query Store which takes 24.34%. I want to know if this distribution is normal or should I take any adequate steps to improve the performance of my […]
slow processing - Hi Experts, Yesterday, we ran a program and it has processed 1500 records in 2 min. Today, it is running for past 90 minutes and processed only 350 records so far. What should be checked apart from blocking?   Cheers, Bob
SQL Server 2017 - Development
Weird problem with substring function over 'text' column - In the query below, I get the Invalid length parameter passed to the LEFT or SUBSTRING function error, but can't figure out why. Query: select table1.Id, substring( table2.source_data, charindex('',table2.source_data) + 7, charindex('',table2.source_data) - charindex('',table2.source_data) - 7 ) as X from table1 inner join table2 on (table2.Id = table1.Id) where (table1.in_timestamp >= @dateFromIncluded and table1.in_timestamp < […]
SQL Server 2016 - Administration
multiple PAGELATCH_UP waits on data file - Hi Experts, What is meant by PAGELATCH_UP waittype ? what does it trying to tell me? what is PFS ? why INSERTS are blocking each other? As per knowledge, insert shouldn’t block each other? Since they are getting blocked , waiting for LCK and so went to suspended state.  Does this indicate a highly transactional […]
SQL Server 2016 - Development and T-SQL
Excel style Contains filter - Hi, I am trying to do Excel style "contains" in SQL, but doesn't work. There are two forename fields in my two tables. I would like to know if first forename is "contained" in second forename field or vice-versa. The name can be anywhere in the other column. Basically identifying individuals who put in their […]
Remove the Dynamic code from my SQL sproc - I have a stored procedure that was created to run dynamically.  Other than me manually removing all the dynamic parts of the scripts, is there a script or a way to remove all the dynamic parts of it so I can step thru it and test parts of the script?    
dynamic update to SP - Looking for suggestions\examples of how to update a SP that the table used changes each month at midnight. The app creates a new detail table it logs information to. example: sqlt_data_1_2023_03 when 04/01 hits a new table is created called sqlt_data_1_2023_04, and how could I use an automated method to update any SP to the […]
Administration - SQL Server 2014
Import DataBase from Access to SQL server 2014 - Hi I want to import database form access to SQL server 2014 When adding a database (structure and data), the process does not complete and I get an error (0xc0202009) When adding a database  (just structure) without data, the operation is successful, but I do not find the database in the list
SQL Server 2019 - Administration
I need to import v7r3 ibm i (as400) info to a sql 2019 database - I need to import as400 data into sql 2019 database.  In Sql i can run a linked server to access the as400 data fine.  When i look for the same data source to copy all the data to a database, i don't see the one i need, any help would be fantastic.
SQL Server 2019 - Development
Inserting data into Physical Table on Azure Taking Longer Than Expected - We have an issue on Azure with inserting data into a physical table . We have done some benchmark testing and we are finding that inserting to a physical table on Azure, is taking 4 times longer compared to using a User Defined Table Type or Temp Table I wanted to know why this might […]
Monitoring third party database to detect updates without modifying the database - Hello folks, Even writing the title, it sounds oxymoronic but bear with me. We have a third party vendor application with it's own front end the business uses. Specific tables from the vendors database are replicated into our SQL server via a vendor managed process. (AWS Data Sync) Historically we have made use of the […]
Amazon AWS and other cloud vendors
Amazon Redshift Data warehouse setup and bring data from Apps to Data warehouse - We are setting up new data warehouse with Amazon Redshift and building integrations to bring data from enterprise apps' specific databases to data warehouse. Would like to hear from experts are there any best practices to do these integrations consistent, reliable and long term easy maintainable. Appreciated for your thoughts.
SQL Server 2022 - Development
Is TemporalTable SysStartTime available before performing an insert/Update? - I want to align a Date column (datetime2(7)) with the same full resolution date of SysStartTime column populated by SQL in temporal tables. I know this is the "Transaction Start" datetime, and has full resolution (e.g., 2023-03-31 17:08:08.5344576) I've attempted to use the following: SELECT  dt.transaction_begin_time AT TIME ZONE 'UTC' FROM sys.dm_tran_active_transactions dt WHERE dt.transaction_id […]
 

 

RSS FeedTwitter

This email has been sent to {email}. To be removed from this list, please click here. If you have any problems leaving the list, please contact the webmaster@sqlservercentral.com. This newsletter was sent to you because you signed up at SQLServerCentral.com.
©2019 Redgate Software Ltd, Newnham House, Cambridge Business Park, Cambridge, CB4 0WZ, United Kingdom. All rights reserved.
webmaster@sqlservercentral.com

 

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -