Quantcast
Channel: SQLServerCentral » SQL Server 2014 » Development - SQL Server 2014 » Latest topics
Browsing all 3145 articles
Browse latest View live

How to keep Canadian and US customers database separate in their country

We have a need to keep MS SQL server data of users in their country, USA and Canada. We have servers in both country. We have a single web application that need to manage data for both and it has to be...

View Article


Executing a SQL Server Stored Procedure in PHP

Hi all, This is just an experiment to make sure that I can get data from a Stored Proc 'IF' and when I need to, so it's basically a THOUGHT EXERCISE. MSSQL 2014 I'm a noobie and need a hand, I've...

View Article


Insert Data set into two tables and grabbing identity from one, for the other

Ok I think I will need to use a temp table for this and there is no code to share as of yet. Here is the intent.I need to insert data into two tables (a header and detail table) the Header Table will...

View Article

Date format conversion

I need to convert the given data 20140927 into 27 Sept 2014. Plz help. Thanks

View Article

Rapid Weight Loss Side Effects

TesteroneXL historic construct of a oecumenical direction system.Before play any humane of learn document, it's weighty for you to [url=http://www.strongmenmuscle.com/testeronexl/]TesteroneXL[/url]...

View Article


Developer Edition

Can somebody throw some light on what this edition contains?

View Article

MDS Defaulting Question

I have an MDS entity which will be managed in excel. I do not want the user to enter the Code and Name so I have configured code to auto generate and name to default to another attribute value. I have...

View Article

SOA / Udi Dahan

We are re-organizing our IT dept, moving off a mainframe system.The Applications area is moving to design applications based on SOA, in particularfollowing Udi Dahan’s concepts. My understanding is...

View Article


Syntax error with <

Hi - the below code works and pulls records where sum of wd.wrkd.minutes is zero, but I need to pull records where sum is <2400. When I replace the 0 value with <2400 as seen in code below, I get...

View Article


BCP in tab separated file to a table

Hello guysI am trying to bcp a log file into a table. Fields are "tab" separated and rows are "crlf" separated.The rows of the file are uneven, in the sense, one row might have 35 tabs and the next one...

View Article

"Best Practices" Questions

Let me start off by saying that SQL isn't my area of expertise, nor am I striving to be a DBA. I've worked at several companies, most of which have some app that runs on some year/flavor of SQL Server....

View Article

OPENING BALANCE FOR EACH QTR START DATE FOR EACH LDGRID WITHIN A @START_DATE...

The opening qtr balance is the be the sum of all dr's and cr's [b]prior [/b]to a particular date. I want to see the qtr_opn_bal for [b]2014-07-01 00:00:00.000 and 2014-10-01 00:00:00.000 for each of...

View Article

How to Store the Image located in Another system into Local Database

Hi Friends,I have the Image in FTP Server Folder and i need to insert that image into my local database.How can i do this I tried with the below Query but i shows the errors as below.Please help me to...

View Article


How to add missing IDs in a SQL table?

Hello,I have a scenario where I would need to add +4 IDs with the existing IDs, below is an example:ID Workload Units1 EXO 37 SPO 415 LYO 10Desired output should be as follows:ID Workload Units1 EXO...

View Article

wait for delay inside a fuction

hello guys,As WAITFOR DELAY '00:00:05' is not allowed inside a function, can you please let me know if there is any other simple way to accomplish the wait. - Thanksthis is the codeBEGIN DECLARE...

View Article


SQL single to multi user mode

Hi ExpertsI have to alter my database to multi user mode from single mode but getting error as below pls suggest.[quote]Msg 5064, Level 16, State 1, Line 14Changes to the state or options of database...

View Article

How to overcome the identity column "jump 1000" issue

Hey,Since SQL2012 MS changed something with the identity column; after a restart the value jumps with 1000 (for INT identity column). This is an undesired "feature" for us. One solution I have read is...

View Article


Inconsistency error

While selecting table data I m getting below error [quote]Msg 5243, Level 22, State 8, Line 2An inconsistency was detected during an internal operation. Please contact technical support.[/quote]Pls help ?

View Article

How to get a better error message back?

I run this piece of code:[code="sql"] BACKUP DATABASE template TO DISK = '\\myserver\Backup\SQL2012\template\template_newdb.bak' WITH FORMAT, MEDIANAME = 'LATEST template NEWDB', NAME = 'Full Backup of...

View Article

Implementation question: lookup table vs bit flags

I'm undecided on how to implement something. Because the system that I'm building is holding student data, I have to implement a compartmentalized security model consisting of three levels: employees,...

View Article
Browsing all 3145 articles
Browse latest View live