being on linux box, how to invoke bcp from sql server 2008 on windows?
hello,which utility do I need to have on Linux box being able to bcp-out from sql server 2008 on windows?JulieShop
View Articleupdate the record in case it existed and insert in case it is not existed.
I have a stored procedure that supposed to update the record when it exists and insert the record in case it is not existed. For update I want store procedure only update the field that I give a value...
View ArticleSSMA to migrate data from oracle to sqlserver
We migrated data from oracle to sqlserver using SSMA but when we see data of sqlserver on .NET GUI, formatting is different than oracle data display on .NET GUI.For an example we are able to see data...
View ArticleUrgent help-mdf size increased huge in production
Hi, my mdf size is 125gb, but today i created one maintainance plan with rebuild index, suddenly mdf size increased to 210 gb, if i shrink its not shrink below 190gb. pls help i am running out of...
View ArticleUpsizing Access Query to SQL Server Express
Hello,I have an Access 2003 application that uses a query to supply sorted data to a combobox on a form. This bit works fine.I've upsized to SSE and have now got a few learning opportunities! Can...
View ArticleHow to detect tags in a char querry result
Hi all !My querry : select * from alert_tablereturns results above:The client "client name" has a contract "contract_type" Ref. "contract_reference" wich expires by "expiry_date" The firm "firm_name"...
View ArticleCapture Data
I have this table called A which get inserted in Table B. Everyday the table A get truncated and new data are refresh from Table B. Table A however have a lot of data that is not related to B. NOw I...
View ArticleConvert varchar(20) date to date that looks like mm/dd/yyyy
Good afternoon,I am a total novice at SQL and have been tasked to change a varchar(20) date column (shows up as m/dd/yy) to show up as mm/dd/yyyy. I've looked at the previous posts, but being a novice,...
View ArticleCan't buy SQL 2008 R2 in Australia
I live in Australia. I have an evaluation edition of SQL Server 2008 R2 which has expired and I want to licence it for development work. As directed I went to the web site advised by SQL Server (your...
View Articlemsdb..sysjobhistory vs msdb..backupset
What is the difference between these 2? msdb.dbo.sysjobhistory vs msdb.dbo.backupsetThe reason I'm asking is because I have a weird situation here - only 1 day of backup history is insysjobhistory. I...
View ArticleNon sysadmin Users running a job
According to BOL, only sysadmin users or owner of the job are allowed to run jobs.I'm not too concern with viewing the jobs becuase the job will executed from sp.How do I allow non sysadmin users to...
View ArticleUpdate table based on ID reference comparing each column and value
Hi,Through UI user can update any information and click save. In backend i will be receiving only ID as reference . Based on the ID value i should update multiple tables wherever i have the reference...
View Articlei have declare two varibles in date and datetime ? with varible type?
i have declare two varibles in date and datetime ? with varible type?declare @date varchardecare @datetime varchar1here i need to increment that declared varible likeset @date=@varchar+1set...
View ArticleHow do I write a query to give back the records only with today's date?
For example the date format is "2014-05-01 16:31:35.897" is a column called "EffectiveStartDate' I tried using where EffectiveStartDate like '2014-05-01%' but that returns nothing.
View ArticleBackups
I have a job set to run once a day to create a backup of my databases. They are scheduled staggered.When I look at the Log FileViewer and I select SQL Server for the log to look at I see the message...
View Articleupload the sql database to host and manage it
helloi have window 8.1sql server express 2014visual studio 2013 expressi have built a database and i am ready to copy it to the host.not in vs or in sql.s i have found the.. connect to remote server..i...
View ArticleBest use services SqlServer
hIIf i have to migrate a database sqlserver, which is best : ssis or engine database, although with both i migrate with ssis package or tsql...but i supose that ssis is best migrate: transform and copy...
View ArticleSQL Server - 1st Time User
First of all, I have no idea what I am doing. I have no idea if this is the correct version that I should be using or not. I have never used SQL Server before.I am trying to study for exam 070-461. I...
View ArticleReporting services (ASPNET) vs (SQLSERVER)
Hiwhich is more fast; reporting from aspnet or sqlserver..I only refer to performance.. because i have use both,,,
View ArticleCredentials issue with MS SQL Express 2014
Hello,I have kind of simple issue but I failed to resolve it. Here's the issue: I have SQL Server Express 2014 installed on my PC. I have to use SQL Server authentication. As 'sa' I created login and...
View Article