Laden...
|
|
|
|
|
|
|
Question of the Day |
Today's question (by Steve Jones - SSC Editor): | |
Formatting the date | |
If I have this code: >>> import time >>> myString = '02/08/2019' >>> myDatetime = time.strptime(myString,"format_string") What is the correct way to enter the format_string for a date in August? | |
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) |
Replication Basics Which database keeps track of the changes made to data and ensures they are replicated to other databases? Answer: distribution database Explanation: The distribution database is responsible for tracking the changes made in publishers and ensuring they are sent to each subscriber. Ref: Stairway to SQL Server Replication: Level 1 - Introduction to SQL Server Replication - https://www.sqlservercentral.com/steps/stairway-to-sql-server-replication-level-1-introduction-to-sql-server-replication Configure Distribution - https://docs.microsoft.com/en-us/sql/relational-databases/replication/configure-distribution?view=sql-server-2017
|
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 - Development |
using different databases / schema with stored procedure - We set up a server with different databases. One for more financial data (ASAP_be), one for hr data (PRP_be), one for structural data (SARA_be). When I give users the right only to execute stored procedures (with no access rights directly to the tables themselves), this works well, when the stored procedure only uses tables from […] |
SQL Server 2016 - Administration |
Lock pages in memory setting - Hi Experts, I have a doubt on lock pages in memory. We have sql 2012/2016 64-bit enviroments. Question is, do we need explicity enable lock pages for 64bit sql servers or it is not required? As per my knowledge it is used for 32-bit systems as virtual address space is low. Thanks, Sam |
3.5 TB SQL Migration from 2012 to 2016 - Hello! What is the efficient method to migration 3.5TB SQL database from 2012 to 2016? Backup and Restore is not our choice as it would take application down for long time. Will setting up transaction replication work? Or have server team copy the Data and log files from current server to new server would be […] |
Administration - SQL Server 2014 |
how to find network issues for sql prod server ? - Hi Experts, Is there a dirty trick or easy way to check network issues or slow network for the database server without using any 3rd party monitoring tool? Can we use continous ping from some quite non-prod server to prod sql server ? can we do that or is there a better way to do […] |
Development - SQL Server 2014 |
Safe/correct way to reduce balance from account - i have a table: id int,customerid int,balance. i want to reduce for a "customerid" from his balance,assuming his balance-@amount to reduce>=0. what is the corret/safe way to do it, assuming the reduce can be called more then once at the same time from different applications? |
SQL Server 2012 - T-SQL |
Insert into Select with Conditions - Hello, I think my requirement is fairly straight forward, but cant seem to get the syntax right or find a solution. Im, trying to do a Insert into Select , that will allow duplicates only if a field value in a row is null. hope that makes sense. - thanks Greg |
SQL Server 2008 - General |
Unsure how to define this query - I need to make a query that will select all items only with ALL their warehouses datelastsale earlier than 2016-09-01. If Wh1, Wh2 are before 2016-09-01 or blank, but Wh3 is 2017-09-01 I don't want this item to show. I first thought of using this but I just can't put my finger on making int […] |
Unsure how to define this query - I need to make a query that will select all items only with ALL their warehouses datelastsale earlier than 2016-09-01. If Wh1, Wh2 are before 2016-09-01 or blank, but Wh3 is 2017-09-01 I don't want this item to show. I first thought of using this but I just can't put my finger on making int […] |
Reporting Services |
External Images - So I'm trying to get an external image to show after I deployed the report. When I run the unpublished report in Visual Studio it's not an issue. I have the Image Properties picture value to be somethings like this "File://L:/EQuipmentdata/100305/100305/thumbs/100305_tn.jpg" and it displays in design and preview. No problem. I deploy it and the […] |
Row Count text box outputting above my data, i need it below - Row Count text box outputting above my data, i need it below. I have a Tablix with my report data at the top of my report. Immediately below that i have a ROW_COUNT text box. When I output the final report to Excel, the row_count is below the tablix as expected. When the client (and […] |
SSRS 2016 |
Subscriptions - writing report Windows File Share - Is it possible to write a report to a Windows File Share without using an account/password? thank you, beth |
Subscriptions - what causes them to go into Pending state? - We often have subscriptions that go immediately into a Pending state after being triggered by a schedule. For example, I have a subscription that was executed at 12:52PM, and at 1:44PM, it is still Pending. thank you, beth |
Subscription - how to pass list of values? - I have a multi-value parameter on a report, and I cannot figure out how to pass multiple values in a subscription parameter, i.e., I pass this value in parameter partner_list; 57590,12100 which produces this error; library!WindowsService_105!1f64!09/10/2019-12:36:40:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.InvalidReportParameterException: , Microsoft.ReportingServices.Diagnostics.Utilities.InvalidReportParameterException: Default value or value provided for the report parameter 'partner_list' is not a […] |
SSDT |
Connect to AWS - Hi All, I am completely new to AWS and i'm having trouble getting SSIS to connect to the ODBC driver. I have set up the "Amazon Redshift (x64) driver in the ODBC "System DSN" window and that connects fine. I have connected SSMS to the driver via a linked server using the provider "Microsoft OLE […] |
Integration Services |
Possible double hop issue - SSIS Package / SSIS Catalogue - Wanted to check if anyone else was able to resolve this and how they did it. In a nutshell we have a package stored in SSIS catalogue on Server – S1 which reads files from Server – S2 ( NAS share) and then the package stored in SSIS catalogue is executed via a C# app […] |
| |
©2019 Redgate Software Ltd, Newnham House, Cambridge Business Park, Cambridge, CB4 0WZ, United Kingdom. All rights reserved. webmaster@sqlservercentral.com |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Laden...
Laden...
© 2025