ssms

Sql Server Management Studio Object Explorer disappeared - missing - vanished

☆樱花仙子☆ 提交于 2021-02-17 21:10:45
问题 The SQL Server Management Studio Object Explorer menu disappeared. The shortcut F8 and the view->object explorer method neither do anything. I have clicked everything on the keyboard, googled around, but nothing. I really need this back, it's a massive hassle having to navigate through the summary window without the object explorer tree view! 回答1: I just had this, and the menu option... Window > Reset Window Layout ...worked a treat. 回答2: I have seen this same problem when double-clicking on

Sql Server Management Studio Object Explorer disappeared - missing - vanished

梦想的初衷 提交于 2021-02-17 21:09:56
问题 The SQL Server Management Studio Object Explorer menu disappeared. The shortcut F8 and the view->object explorer method neither do anything. I have clicked everything on the keyboard, googled around, but nothing. I really need this back, it's a massive hassle having to navigate through the summary window without the object explorer tree view! 回答1: I just had this, and the menu option... Window > Reset Window Layout ...worked a treat. 回答2: I have seen this same problem when double-clicking on

Sql Server Management Studio Object Explorer disappeared - missing - vanished

孤街浪徒 提交于 2021-02-17 21:08:25
问题 The SQL Server Management Studio Object Explorer menu disappeared. The shortcut F8 and the view->object explorer method neither do anything. I have clicked everything on the keyboard, googled around, but nothing. I really need this back, it's a massive hassle having to navigate through the summary window without the object explorer tree view! 回答1: I just had this, and the menu option... Window > Reset Window Layout ...worked a treat. 回答2: I have seen this same problem when double-clicking on

Customise default 'New Stored Procedure' SSMS 2008 Template

£可爱£侵袭症+ 提交于 2021-02-17 14:46:47
问题 I am trying to customise the default query which is put in place when you click New Stored Procedure... from the Object Explorer on SQL Server Management Studio 2008. I have found how to change the 'Create Stored Procedure (New Menu)' template from the Template Explorer , however this means I will have to keep opening the template explorer rather than clicking on new stored procedure like i usually would. How can I edit the template which appears when you click New Stored Procedure... ? 回答1:

Tracking continuous days of absence from work days only SQL

爷,独闯天下 提交于 2021-02-11 15:01:11
问题 I'm trying to create a table which takes dates of when a employee is sick and create a new column to provide a "sickness ID", which will identify a unique instance of absence over several dates. I've managed to do this, however I now need to factor in a table which contains the working pattern of each employee, which will let me know if someone was due in work on a given day of the week. This can be joined using the day_no column in both tables along with the employee_number . I posted a this

Tracking continuous days of absence from work days only SQL

不羁的心 提交于 2021-02-11 14:58:21
问题 I'm trying to create a table which takes dates of when a employee is sick and create a new column to provide a "sickness ID", which will identify a unique instance of absence over several dates. I've managed to do this, however I now need to factor in a table which contains the working pattern of each employee, which will let me know if someone was due in work on a given day of the week. This can be joined using the day_no column in both tables along with the employee_number . I posted a this

Getting XML to feed into SQL Server table

安稳与你 提交于 2021-02-11 12:32:16
问题 I am trying to get a (for right now) simple XML to feed into a SQL Server table. The XML is: <?xml version="1.0" encoding="utf-8"?> <ArrayOfSafeEODBalance xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <SafeEODBalance> <Lane>1</Lane> <PouchId>06292019053041001</PouchId> <BusinessDay>6/29/2019</BusinessDay> <BusinessStartingTime>6/29/2019 5:36:58 AM</BusinessStartingTime> <BusinessEndingTime>6/30/2019 12:15:55 AM</BusinessEndingTime>

Split A Single Field Value Into Multiple Fixed-Length Column Values in T-SQL

送分小仙女□ 提交于 2021-02-11 06:06:19
问题 I've looked at about 15 different answers on SO but haven't found this exact situation yet. I'm doing a custom data export and need to export to a data file that will be imported into an older system that needs the data in a specific length/format. I have a "MEMO" column that can have a large amount of text in it. I need to select that value and split it into multiple columns with a FIXED length of 75 chars. For instance, if I have a row with a message that is 185 chars, I need to split that

Split A Single Field Value Into Multiple Fixed-Length Column Values in T-SQL

这一生的挚爱 提交于 2021-02-11 06:05:54
问题 I've looked at about 15 different answers on SO but haven't found this exact situation yet. I'm doing a custom data export and need to export to a data file that will be imported into an older system that needs the data in a specific length/format. I have a "MEMO" column that can have a large amount of text in it. I need to select that value and split it into multiple columns with a FIXED length of 75 chars. For instance, if I have a row with a message that is 185 chars, I need to split that

Split A Single Field Value Into Multiple Fixed-Length Column Values in T-SQL

纵然是瞬间 提交于 2021-02-11 06:03:43
问题 I've looked at about 15 different answers on SO but haven't found this exact situation yet. I'm doing a custom data export and need to export to a data file that will be imported into an older system that needs the data in a specific length/format. I have a "MEMO" column that can have a large amount of text in it. I need to select that value and split it into multiple columns with a FIXED length of 75 chars. For instance, if I have a row with a message that is 185 chars, I need to split that