back soft

مطالب مرتبط با «sql server 2012 management studio» در back soft | نویسنده: استخدام کار

SQL Server 2012 Join with padded zeros

Vote count: 0 I have two table with a PK ID but one table has a padding 13 digits. Table1 PK 1234567890000 Table2 PK 123456789 What's the best approach when joining? I have the below join but get an error The conversion of the varchar value '7324004373918' overflowed an int column. LEFT JOIN Summary C ON RIGHT('0000000000000',B.Id) = RIGHT('0000000000000',C.id ) asked 24 secs agoToby Let's block ads!...

ادامه مطلب

Using filters and wildcards to find incorrect records on SQL server management studio

Vote count: 0 New to using SQL server management studio... Just trying to filter my table results to show only records that have (deceased) in them... So far I have select SUAME, count(SUAME) from [dbo].[blahblah] group by SUAME order by SUAME I would usually use TRIM/translate like the below, however it doesn't recognise these functions... select trim(translate(cast(GUAR_PHONE as string), '0123456789', ' ')),GUAR_PHONE from atable WHERE trim(translate(cast(GUAR_PHONE as string), '0123456789', '...

ادامه مطلب

SQL server 2012 conditional update on table 1 from a temp table

Vote count: 0 I have 2 tables 1 [dbo].[t_Olympic_Country] where i have all the county list but population and GDP is empty. Now i have second table which has most of the countries with population and GDP data but its it has not same number of data. I would like to enter value of GDP and population from 2nd temp table [dbo].[temptable1] to first [dbo].[t_Olympic_Country] in case the cuntry name matches with [dbo].[t_Olympic_Country]. I mean a conditional bulk update for [dbo].[t_Olympic_Country]....

ادامه مطلب

Microsoft SQL Server Management Studio Connection to Azure database uses router ip address

Vote count: 0 I am accessing an Azure Database via MS SQL Server 2014 Management Studio. I do not own the Azure database that I am coecting to. I have coected to this database in the past (with occasional difficulties) but for some reason when I now use the Coect to Server I get the following error: The odd thing is that IP referred to in the error message is my router's IP address as opposed to the IP addressed assigned to me (I checked my IP address using ipchicken(IPCHICKEN). Does anyone know...

ادامه مطلب

windows 10 cannot connect to sql server database in visual studio 2015

Vote count: 0 I've been having a problem using Visual Studio to coect to a networked sql server with a networked user, a local administrator, and a domain administrator. Here's the coection string in Visual Studio: string coecitonstring = "Server=development;Database=testdb;User Id=TestUser;Password=TestPassword;"; co = new SqlCoection(coecitonstring); 1) Ruing Visual Studio as non-administrator and as an administrator, I get the following error. {"A network-related or instance-specific error oc...

ادامه مطلب

exclude a record from a view - SQL SERVER 2012

Vote count: 0 I have three joined tables 'Student' , ‘StudentTransportOrder’ and 'Transport' in SQL server I have made a ‘StudentActivity’ view for this the 'Student' table each student record has a TransportOrderID however the table I have joined to has a 'VehicleID' this is recorded into the ‘StudentTransportOrder’ table if transport is used, even though the vehicle type may be different e.g. Train or Car Unfortunately the same transport id has been entered for the same date and time for a stu...

ادامه مطلب

Will MSSQL 2012 database work on MSSQL 2008 server?

Vote count: 0 I have MsSQL database which is created in MSSQL 2012 SQL server.On my local machine I have installed MSSQL 2008 SQL server.Will the 2012 database work in MSSQL 2008? asked 23 secs agovishal shah This entry passed through the Full-Text RSS service - if this is your content and you're reading it on someone else's site, please read the FAQ at fivefilters.org/content-only/faq.php#publishers.Recommended article from FiveFilters.org: Most Labour MPs in the UK Are Revolting....

ادامه مطلب

sql server 2012 connection using Uid and Pwd defaulting to Windows Auth

Vote count: 0 I have an Excel workbook that will query a SQL Server 2012 database using VBA. Many users will temporarily use this workbook so I created a generic ID with SQL Server credentials only. Some of the users can execute the VBA and retrieve data without a problem. When other users try, the VBA ignores the provided coection string using the generic user and password and provides their windows credentials. Why are they sending their windows credentials instead of the credentials provided ...

ادامه مطلب

storing pdf data into database(sql server 2012)

Vote count: 0 So here's a scene, i have converted excel file into pdf. uploaded in my website. Now i want to store the DATA of pdf file into database. I need to read the data and store the data into database. Say, in my excel file, i have a column named Student Name, converted this file into pdf. So this header will stored as a Column in Database.. looked foe this problem on google. FileStream will do somewhat but not the all. P.S. I need to store pdf's Data. not pdf file. Database : Sql Server ...

ادامه مطلب

Curious sporadically performance problems of select count(*) query after upgrading to SQL Server 2012 (from 2005)

Vote count: 0 We have a native C++ COM application for controlling our production lines. The application is using ADO to access a MS SQL server. Server part of application is ruing on Windows Server 2003 and Clients XP. Recently we switched from SQL SERVER 2005 to SQL SERVER 2012 (but database remaining in 2005 compatibility modus). The migration was quite smooth (just 1/2 downtime). Old server and clients are in same domain, new server is in a different domain (of course trusted). Authenticatio...

ادامه مطلب

errors with table names in SQL SRV management studio

Vote count: 0 I am brand spanking new to SQL and programming itself. So bear with me please. I have a database called ex. "name" and my query code for it and it executes just fine but all the table names in the query are red. It is only with this specific database. I have another query with a different database with no errors and it runs fine as well. ThankYou asked 1 min agotruevc73 Let's block ads!...

ادامه مطلب

Speciality of Read-Only Database in SQL Server 2012

Vote count: 0 Can anyone tell me the special features of a read only database compared to the database which we use. Is there are any advantages or disadvantages for read-only database.? asked 2 mins agoleeg4625 This entry passed through the Full-Text RSS service - if this is your content and you're reading it on someone else's site, please read the FAQ at fivefilters.org/content-only/faq.php#publishers....

ادامه مطلب

exporting schema and data from one DB to other in SQL Server 2012

Vote count: 0 i want to export data and schema from live Database to my local database, i tried "export data" option while right clicking on live db but it only exports data but not constraints on columns. kindly help me out? asked 1 min agoNoman Ahmad This entry passed through the Full-Text RSS service - if this is your content and you're reading it on someone else's site, please read the FAQ at fivefilters.org/content-only/faq.php#publishers....

ادامه مطلب