Quantcast
Channel: Forum Getting started with SQL Server
Browsing all 4729 articles
Browse latest View live

error while using BCP

I am trying to export the file using bcp and my error isC:\Users\rajesh>bcp Adventureworks.HumanResources.Department out c:\test\dept.txt -n -SLaasya -T SQLState = 37000, NativeError = 4060 Error =...

View Article


Need help with manipulating datetime data types

I have an existing process (that I cannot change) that purges old data from tables that contain a varchar column with a yyyymmdd date. For convienance sake, let's say that table1 now has a datetime...

View Article


How do i add time "23:00:00" to a date data type? I have mentioned the code...

DECLARE @FIRSTDATE date = '2014-07-06'. I need to add time to this without initializing it on the first place. SO basically it should look like  '2014-07-06 23:00:00'. As far as i know it can be done...

View Article

Powershell script to get the Disks that are offline

Hi I have a scenario where in i need to get disks infomation of 100+ remote servers using powershell script. I have below script which only giving the disk information which are online. Get-WmiObject...

View Article

I can't uninstall sql server express

I'm running Windows  7 64 bit and trying to install SQLEXPRWT_x64_ENU.exe  PLEASE HELP... AT LEAST HELP Me GE GET IT OFF MY SYSTEM.LOsing patience, and my mind.  Thanks in advance.Kay

View Article


what index will be created by default when new table is created

Hi Team,1.  When creating new table, what type of index wil be created in sql server ?2.  what is the table name if we create new table without primary key?Please help me on thisAnand Rajagopal

View Article

Can we extract blob objects from sql database to a human readable format?

Hi All,I have question How can we extract blob objects from Sql database to human readable format ?Blob includes Images, text and docs.Thanks MougBest Regards Moug

View Article

regarding sqlserver

Hi,what is the difference between stored procedure and function in performance wise?

View Article


Can anyone suggest what is the minimum resources (CPU & Memory) require from...

Hi All,Can anyone suggest what is the minimum resources (CPU & Memory) require from application (SQL) front to runos:Windows server 2003 standard edition.Current CPU & Memory : 1 VCPU (2.60....

View Article


Data Validations

We have around 10k records in stagingtable which needto be validated. The below validtions areas follows. Could you please help to have the T-SQL code to validate the records.ifthe validation fails...

View Article

sql server 2005 compatible with OS

Team,Windown team is upgrading the os from windows server 2003 to windows server 2012, and we have "Microsoft SQL Server 2005 Enterprise Edition" Build: 9.00.4207.0" installed on these server,Please...

View Article

regarding sqlserver

Hi,this is my emp tableid    name  deptid 1    kot    4 2    viss    2 3    pra    1 4    ram    3 5    ramanji    NULL 6    master    NULL 7    siva    NULLthis is my dept tabledeptid   name1    audit...

View Article

Select distinct latest records

RecordDatestatusPlace2014-05-29 10:34:31.850YESK126 - J.H.S 126 John Ericsson2014-05-29 10:34:52.427YESK131 - P.S. 1312014-05-29 10:36:12.323YESK258 - I.S. 258 David Ruggles2014-05-29...

View Article


how to start sql

I'm new to sql. The info I've seen says to go to All Programs, point to Microsoft SQL Server 2008 R2, and then clickSQL Server Management Studio. Although we have SQL Server 2005 Compact Edition,...

View Article

sql service service manager

hi to all. i have a question , am not server techish. just repair with computers. but theres a computer that has windows xp and i want to back up its files and reinstall windows 7. but i see that  its...

View Article


Can an asterisk be used in an Append Query or some other way?

Hi friends,Is there anyway to merge two or more tables reflecting the view with all the columns in such a way that similar ones are used ones and additional ones also included in a way other than using...

View Article

Problem with User Login

Good Afternoon,I am trying to set up a database in an academic environment.   The sql server 2012  is located on a PC identified as WH-02A-02.  The database files are to be located on a shared...

View Article


BugCheck Dump

please review if this stack dump is a concern or if it's a one time non-critical event.  If it's a concern, please provide any recommendations....

View Article

How to get the Database name from the backup file

Re: How to get the Database name from the backup file(This is not the exact scenario. Using for simplicity.)I have a directory of .bak files created from SQL Server1. I want to restore them to SQL...

View Article

sql server management studio

TITLE: Connect to Server ------------------------------ Cannot connect to SUMALIKA. ------------------------------ ADDITIONAL INFORMATION: A network-related or instance-specific error occurred while...

View Article
Browsing all 4729 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>