Any way to guesstimate internet needs for remote DBA? - I am starting a new remote SQL DBA position. Normally I have high speed unlimited internet. But I may for...
DataBase Creation Error - I am getting following Error Msg 5105, Level 16, State 2, Server ServerName, Line 1 A file activation error occurred. The physical...
Delete the duplicate records of table having only one column - Hi all, Kindly suggest or share such query to me , How we can delete the rows having duplicate records Condition; Table having...
Best way to randomly select rows? - select SUM(c_amount) from Transactions where s_credit_tran_type = 'cash' and b_cancel = 0 and b_credit = 0 and b_failed = 0 and dt_when between '2017-01-01 04:09:54.213'...
Latency issues in Transactional Replication - Hi, We have two SQL server 2012 bidirectional transactional replications working correctly. Instance A (active) <-> Instance B (passive - not in use) Instance...
USERSTORE_TOKENPERM is Huge - I'm having problems with my USERSTORE_TOKENPERM cache becoming growing. When I came in this morning it was 2.4 gb and...
Multiple rows to Individual Columns - Hi Team, I got a scenario : Got two tables Table 1: ID(col1) Number(col2) Description(col3) 1(col1) 000101(col2) xyz(col3) 2(col1) 000201(col2) abc(col3) Table 2: ID(col1) Grade(col2) Value(col3) 1(col1) aa(col2)...
Update from a join - Hi! A have two tables, dutyrostershift and timeaccountmovement with a lot of fields - I am copying from one db to another,...
DUPLICATING A ROW BY NUMBER OF OCCURENCE OF A PARTICULAR FIELD IN ANOTHER TABLE - Hello, I have this challenge that has been an issue for weeks now. I have a table A with 7 rows with...
Scripting Definition in sql_modules different from right click > script view. - I have created a program that refreshes databases automatically, making sure fresh production data is inside an acceptance database. Part of...
Age as of January 1st - Hello all, I'm really strugling on this age calcualtion. I need to find the age of a patient based off January...
DBCC CheckTable -- Help Please? - Evening Guys, DBCC ChecTable has come back with the following unpleasant looking message: " Msg 8909, Level 16, State 1, Line 139 Table error:...
modifying a 'replace' function to use Lower and Upper - I have a function that I'm using that is working with one glitch. It is designed to change non-English characters...
log file keep growing - Hi guys I have an issue related to log file, it keeps growing until today and I can’t shrink it...
How can I prevent a record from appearing based on two columns - Sorry for the vague Subject line but, I couldn' t come up with a good summary. In the table the...
Importing data using bcp - Does anyone know how I can import data from a csv file(pipe delimited) into a sql server database table using...
Using IN in a Where statement with and option of all - I'm trying to use a Where TS.Skill IN (@TS) and it works fine. :) The user can select one or any number of options...
connection manager time of day configuration - Microsoft Visual Studio Premium 2012 Version 11.0.61219.00 Update 5 Microsoft .NET Framework Version 4.6.01055 Microsoft SQL Server Integration Services Designer Version 11.0.3369.0 Microsoft...
SSIS or ASP.NET? - I'mtrying to decide the best tech to use to do what I need. I need to have a scheduled task/service that...
T-SQL - Adjusting Payments Against Invoices and Calculate Balances - Hi all, I have been working on the following task where balances of payments exist in one table and invoices in...