Quantcast
Channel: dBforums – Everything on Databases, Design, Developers and Administrators
Viewing all 13329 articles
Browse latest View live

Scanning many SSIS packages for a particular property

$
0
0
Hello, all. Sorry if this is a bit of a newbish question, but I am a bit stumped.

So I have a pile of around 50 packages (*.dtsx files) or so, and we have found that not all of these packages are set to have the critical bits fail the package on failure of the critical bits. This gets to be slightly annoying when there is a job of some 20 or 30 packages running, and one of these fails without a single apology, and the rest of the job runs along as if nothing (bad) happened. This leads to having to hunt down what failed, diagnosing why it failed, and then re-running the parts that failed in different and inventive ways after the unhandled exception.

So far, I have broken open a couple of the offending SSIS packages in notepad, and the string "FailPackageOnFailure" appears in a number of places. Unfortunately, due to the fact that some of the packages have Sequence Containers that hold some of the SQLTasks (all of the "critical bits" are SQL Tasks, I believe), and this changes the XML path to the parts that I want to scan. This leaves me with the prospect of opening each package, wait for the package to be validated, going to the SQL Task in the package, right clicking for the properties of said SQL Task, and finding the Fail Package on Failure bit (OK, more likely I will delegate that task to some poor schmuck, but I promise I will feel some regret over it).

So, the questions are

1) Has anyone else had to do this?
b) Did they find a better way to do this?
iii) Are there utilities to make this any easier?

Single database recovery in continuous archive with PITR.

$
0
0
I am new to postgres administration and I am trying to determine the best way to configure a multi-project postgres server. In my research so far it looks like continuous archive allows you to recover all of the databases and only ALL of them. Our requirements are that we need to do PITR, but since this server will host multiple projects we have to be recover databases to a certain point in time on an individual basis.

Is the typical approach for this to start multiple postgres pointed at different init directories so you can recover them on an individual basis as needed?

Code Help for access to send email

$
0
0
Someone provided me this code. Its mission is to take all the email address out of a table and populate them into a outlook email.
IT works but it only pulls out the first email and for some reason adds it 2 times. Not being a coder or knowing anything about code I could use some help on what would need to be changed to make it work right. Unfortunately the person who provided it is not longer around to ask.

Option Compare Database

Private Sub Command1_Click()
Dim myEmailString As String
Dim x As Integer
Dim db As Database
Dim rstEmails As Recordset

Set db = CurrentDb()
Set rstEmails = db.OpenRecordset("SELECT * FROM myEmails;", dbOpenSnapshot)

For x = 1 To rstEmails.RecordCount + 1
myEmailString = myEmailString & "; " & rstEmails.Fields("Email").Value
Next

SendEmailFinal myEmailString, " ", " ", " "

End Sub

Sub SendEmailFinal(EmailTo As String, EmailCC As String, EmailSubject As String, EmailBody As String)

Dim olApp As Object
Dim olItem As Object

Set olApp = CreateObject("Outlook.Application")
Set olItem = olApp.createitem(0)

With olItem
.To = EmailTo
.CC = EmailCC
.Subject = EmailSubject
.BodyFormat = 2
.HTMLBody = EmailBody
End With
SendEmail:
olItem.Display 'display the email instead of sending it.
Set olApp = Nothing
Set olItem = Nothing
End Sub

Grouping notes by date

$
0
0
I am developing a time recording system for legal advisers in a free advice centre using PHP/MySQL.

There is a table called ‘actions’ which records what actions have been taken and how long the advice lasted. The relevant fields are:
actionid
matterid (links to another table ‘matters’)
action date (when the advice was given)
action time (how long was spent with a client)
notes (records what advice they gave or action they took)

A number of pieces of advice may be given to a client on a single day and a client will probably come back many time on the same matter.

For a matter I want to be able to view a table which lists all of the notes for each day. So the table should display 3 columns:

The date of the advice || all of the advice notes for that day || the total time spent that day

I have used:
SELECT actiontime, notes, actiondate
FROM actions
ORDER BY actiondate

Which is OK but lists each action on a separate row e.g. if there were 3 actions on January 10th I get 3 rows for January 10th with notes in each one. I want one row with the all of the notes in that row.

update querys sql and expoert data

$
0
0
I would like to update my Query's sql based on the list box selection.
Here is what I have, but I get different errors.
Can you please see what is missing or extra?
Thanks

Private Sub cmdExportToQB_Click()
On Error GoTo cmdExportToQB_Click_Err
Dim str as String
Dim dbsCurrent As Database
Dim qryTest As QueryDef
Set qryTest = CurrentDb.QueryDefs("QryExportTemp")
str = "SELECT qryExportToQBFilter.InternalID, qryExportToQBFilter.Type, qryExportToQBFilter.Title, qryExportToQBFilter.County_Block_Lot, qryExportToQBFilter.QBbillingDetails, qryExportToQBFilter.Price, qryExportToQBFilter.Free, qryExportToQBFilter.TitleCoName, qryExportToQBFilter.TypeId, qryExportToQBFilter.TitleNo, qryExportToQBFilter.TitleCoID FROM qryExportToQBFilter WHERE (((qryExportToQBFilter.TypeId) <> 1)) ORDER BY qryExportToQBFilter.Type and qryExportToQBFilter.InternalID in ("
For i = 0 To ListExport.ItemsSelected.Count - 1
str = str & ListExport.ItemData(ListExport.ItemsSelected(i))
If i = ListExport.ItemsSelected.Count - 1 Then
str = str & ")"
Else
str = str & ","
End If
Next i
qryTest.SQL = str
DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel7, qryTest.Name, "C:\temp\ExcelFiles\ExportToQB.xls"

cmdExportToQB_Click_Exit:
On Error Resume Next
Exit Sub

cmdExportToQB_Click_Err:
Resume cmdExportToQB_Click_Exit

Order By Clause with the Sort Key as a Cobol Variable

$
0
0
Hi Everybody.

I am dealing with a situation , where I need to Sort the keys in a Cursor , depending upon some business logic , which would be embedded in COBOL Program. Example shown Below

Select
Student_ID,
Student_Name,
Student_Marks,
Student_Age
FROM STUDENT

ORDER BY
:WS- STUDENT-NAME
:WS- STUDENT-ID
:WS- STUDENT-MARKS


The :WS variable are COBOL variables. I need the Sorting logic to be dynamic based on the variables value . Either I can pass the Column Name in Variable value (Example - "Student_Name") , or the Column No ( 1 or 2). However , whenever I am applying these host variables in Order By Clause , the PRE-COMPLIER is throwing the Error Message

UNDEFINED or UNUSABLE HOST VARIABLE : WS-STUDENT-NAME .

Is it any possible way by which I can use Dynamic variables in ORDER by Clause , instead of Only Column Name or Column Number.

Thanks in Advance !!

MyServerPlanet Ltd - New UK Location including £8/mo dedicated server - US VPS nodes!

$
0
0
MyServerPlanet started in 2014 - with ten years experience within the Hosting industry, our directors can manage your query almost instantly.
When your with our service you can rest assured that whatever solution you purchase from us, is using 100% top of the range, high end hardware to accomplish your required needs..

Our connection to multiply internet carriers, and sophisticated optimised routing, assures rapid transmission of your vital traffic. Using the latest Server hardware - technology and operating out of a state of the art data centre in Dallas, proving the best connectivity we can!
All servers now come with a 1Gb/s port to enhance your experience with us. MyServerPlanet Ltd owns all it's hardware in many locations including US and UK.

ALl prices exclude VAT

These are limited time deals and will be gone fast, with these promotions we hope your next home is with us, MyServerPlanet Ltd, deploy the best for your business.

With many configurations to choose from, why go any where else? Can't find what your looking for? Just submit a ticket to our desk, we will build and deploy ANYTHING.

UK Dedicated 1.

Q6600 4x 2.4GHz
160GB 7.2k SATA
2GB Ram
5TB monthly transfer
/29 IP allowance
£56/mo
https://www.myserverplanet.com/cart.php?a=add&pid=93

US dedicated 1
(2) Quad Core Intel Xeon 2.26GHz
24 GB RAM
1x 1TB HDD
/30 subnet
100 Mbps Unmetered
£55.90
https://www.myserverplanet.com/cart.php?a=add&pid=9

US dedicated 2

DUAL Intel Xeon E5310 Quad Core - 1.60Ghz
24GB ram
1x 500GB HDD
32 IP's
1GB/s 20TB
£115/mo

https://www.myserverplanet.com/cart.php?a=add&pid=78

US dedicated 3
Intel Xeon Quad Core E3-1230v2
32GB RAM
2x1TB HDD
1GB/s Public/Private Network Uplinks
/26 IPv4 Allocation - 61 Usable IPs
£125/mo

https://www.myserverplanet.com/cart.php?a=add&pid=77

We own all of our hardware in the UK

Don't want to pay monthly for a HDD? We can come to an agreement where you pay for your hard drive.. out right or just ship it to us.

UK Atom server.(setup time is 1 week)

Atom or AMD Processor
From 1 to 2GB ram
160GB Minimum hard drive
1 IPv4
100mbps
£8.00 Excl VAT

Hard drive upgrade options:

250GB Hard drive £3.99/mo
320GB Hard drive £4.99/mo
500GB Hard Drive £6.99/mo

https://www.myserverplanet.com/cart.php?a=add&pid=94

Many thanks!

Query

$
0
0
HI the below statement selects the rows in which all criteria are met as below.
But how can i also pull all the entry's from PPOS which don't have INv_quan?

SELECT HNR.HNR_ID, PPOS.KNR, SUPL.SUPL_NO, SUPL.NAME1, PPOS.PUR_NO, PUR.NAME, PPOS.POS_NO, PPOS.QUAN, PPOS.UNIT, PPOS.PRICE_QUAN, PUR.CURRENCY, PPOS.PRICE, PPOS.NET, PPOS.DESCR, PPOS.POS_TEXT, INV_QUAN.INV_NO, INV_QUAN.QUAN, INV_QUAN.AMOUNT, BUDGET.ACT_COST, PPOS.TOT_INV, PPOS.STATUS
FROM HI.BUDGET BUDGET, HI.HNR HNR, HI.INV_QUAN INV_QUAN, HI.INVOICE INVOICE, HI.PPOS PPOS, HI.PUR PUR, HI.SUPL SUPL
WHERE INV_QUAN.INV_NO = INVOICE.INV_NO
AND PPOS.PUR_NO = INV_QUAN.PUR_NO
AND PPOS.POS_NO = INV_QUAN.POS_NO
AND PUR.PUR_NO = PPOS.PUR_NO
AND HNR.HNR = PUR.HNR
AND PUR.SUP_NO = SUPL.SUPL_NO
AND PPOS.PUR_NO = BUDGET.PUR_NO
AND PPOS.POS_NO = BUDGET.POS_NO
AND ((HNR.HNR_ID=?))

Database Backup - SQL Server Question

$
0
0
Hello everybody. My name is Edward and I am a systems administrator with a real estate company in the Buffalo, NY area.

We utilize a property management tool named Yardi/Voyager for our properties scattered across the area. I have been working closely with Yardi to handle different technical matters. The problem I am running into is the fact that the Director of IT resigned from the company 3 weeks ago. This has left me in a position to run the entire IT department by myself with only 4 months of experience in the IT world.

The only way Yardi is able to help me is by backing up our live database from our SQL server, compressing the file and then sending it to them via FTP server. The size of our database is roughly 26 GB's. We utilize Windows Server 2008. I do not have enough space on the SQL server to do an actual full live backup.

Is there a way to connect a large flash drive to the server somehow so I can backup this database or utilize another way to backup somewhere other than the SQL server which doesn't have enough space? I notice that you can copy from a local disk and paste into the server but you can't do it the other way around. I can't just copy a file from the server and place it locally. Or is there a way to send this backup to my local computer where there is enough room? Our last database backup was back in November. Any suggestions on how to handle this matter?

ERD Question

$
0
0
Hello everyone this is my first post so I'm sorry if I posted in the wrong section.

I just came back from my database exam and we were asked to create an ERD anyways there was a question were it required us to input category and sub category entities into the ERD, this is the way I did it: I created 2 tables : Category and Sub-category and I linked the two tables with a one to many relationship stating that a sub-category must have a category and a category may have multiple sub-categories.

After the exam I was discussing this question with my peers and they said that a recursive method was to be used for this question, now that I think about it does make a lot of sense but won't my way be correct as well?

Thank you for your help.

populating an empty table with sequential numbers

$
0
0
I have a column within a table which is already truncated/deleted all records within (Microsoft SQL 2008). I have to now populate the column with sequential numbers up to 50,000 records arbitrary numbers (doesn't mater) up to 7 characters.

Can any one help as to what SQL statement I need to write that will automatically polulate the newly empty table with A000001,A0000002,A0000003, or any form for that matter etc so that I can sort number the records within the table.

I have approximately 50000 records which I need to sequentially entered and I really dont want to number the column manually via hand editing.

Thanks in advance

inserting data into a single column

$
0
0
I want to insert sequential numbers into a single column.

The columns have been set to NULL




Is there a command I can now use to populate just that column with sequential numbers




Thanks

Database rookie with a complex problem - seeking bright minds for a solution.

$
0
0
Hi everyone,

First time on this forum for me, hopefully it’s the correct place for such a question. I did a bunch of searching prior to posting, and I have bits and pieces of information together - but it’s still all a little unclear to me. Keeping in mind, this is all coming from a guy who’s only recently learned what SQL is, and I’m still not sure I have my head wrapped around it yet.

I’m going to try and paint a picture of what exactly I do, and my end goal is to come up with a more optimized way of doing it. I’ve recently been assigned new responsibilities, and it’s really peaked my interest in BI and Database management. I have no doubt it’s done very inefficiently since I’m at least conscious of all the other tools/software/functions that exist.

I have a database in Access that is currently ~2,500,000 rows of data with 15 columns of data in each row. Static data, nothing fancy only values. This database is continually growing via copy/paste from Excel. In Excel I use a series of VLOOKUP’s and other data pulls into to assign rates and other variables to each given row of data that comes to me. This happens on a daily basis, as dates change rates changes etc. So each day I will be assigning values to new data, and copy pasting it into Access after I’ve assigned all the variables necessary.

Every time this data changes, I am asked to reconcile balances. So I run an Access query with specific data I need (i.e.: >Specific Maturity Date) with a unique line of business identifier. One of the larger balances I have to reconcile makes up ~800,000 of these 2.5MM lines. So I end up with a large Access query, and export it to Excel.

Once I have the Excel up, I have to add several columns to calculate specific things that are required. So each row that was originally 15 columns now has ~20. Each of the additional columns is a formula that is referencing that rows data. Things like weighted averages and such. I then pivot (keeping in mind 800,000+) the data, and compare balances and rates with each corresponding line of business that has done the same on their side.

So essentially I’m comparing 2 pivot tables at the end of it all. The issue lies in trying to manage these large amounts of data in Excel with all the formulas and pivots, it’s become cumbersome. Takes 20 minutes just to save the file.

This is all just to do a simple balance reconciliation mid month; I have to do a more comprehensive check at the end of the month which goes into even more detail.

Like I said, I’m new to this, and it’s interesting to me. I’d like to come up with a more efficient way to manage this data and optimize how I can reconcile it as often as needed without software limitations. I'm all ears.

Regards,
Ghostcode

Relational Fields/Subforms

$
0
0
Hi all
Please excuse my stupidity but I am going round in circles with a problem and I'm sure its something really simple I'm missing.
I have a Form that stores details of an item I make and also contains a couple of fields that store its status eg Sold, For Sale etc. The other field records the event it was sold at. This is in the form of a drop down list that gets its values from another form that stores information about the event including its name which is unique. If an item is not sold, the field will be empty.
What I want to do is to have a relational field on the events form (essentially a sub-form) that is populated by the items sold at that event so I can calculate profit/Loss info for the event based on sales. (Its usually a big fat Loss!!!).
The database is already heavily populated with records so manual entry/updating isn't an option i really want to consider unless there are no alternatives. Ive tried adding a relational form to one or both forms, Ive tried relational look-ups, Ive tried everything I can think of in fact but although sometimes the preview shows records the sub-form/relationship field remains blank.
Ive managed to come a long way in my database skills with help on this forum but some things just seem to be beyond my grasp.
Can anyone please put me out of my misery? You will need to explain in simple terms please!

Many thanks

Doug

Imaginative Ideas

$
0
0
Hello Everybody.... i have this idea which i dont know if its possible. when BD is showing "Form Only" under layout option ... depending on the size of your form (and if the layout is center).... you have these grey spaces around the form. Im thinking if one can insert a customized picture so it will seem like behind the form.


another one too is when want to log in .. there is this deep grey background ... can that one too be customized.

ive attached screenshots

ATTACHED.jpgattached 2.jpg
Attached Images

Can you call code from an concentated field?

$
0
0
I have a form with fields
LastName
FirstName

and then a text box that brings them together FirstName &" " & LastName (I dont want to make FullName a data entry field - I want them separated)

What is wanted, is a message box warning that is triggered if both fields are matched when a new customer is added.

I have found some code and can get it to work when i call it from the AfterUpdate event of either LastName or FirstName (as individual entities) but not on the Full Name.
Is there a way to call the code from the text box (txtFullName) that brings the fields together?

handling 150+ million rows on corrupt table

$
0
0
Hi guys,
Can anyone give me a headstart on how we could handle large data problem. We need to pullout rows on corrupt table with 150+ rows of data. Atleast we can pullout all clean data and remain the corrupt data. The problem is already on table level data not on index pages where we can drop/recreate the index.Technically we have 1 Unique composite index(3 columns) and 1 Nonclustered index on the corrupt table.

One of these options are not relevant to solve the issue.
-bulk copy out
-select into

We are looking to design a script to handle connection between redhat linux and sybase 12.5.4 to do the thing and our candidate is Perl.

Hoping for your expert assistance. Thanks advance

If by accident already posted this question on the forum please let me know so I can delete the thread. Thanks

Problem with Word and Excel Automation

$
0
0
The code i am using below runs fine the first time and produces the document i need. The second time it runs i am getting a runtime error 462 - the remote server machine does not exist or is not available. i get this error on the following line of code:

Code:

objWordDoc.InlineShapes.Item(objWordDoc.InlineShapes.Count).Width = CentimetersToPoints(23.5)
- in the format MIMT PAGE Section of the code.

i think the reason for the error is because an instance of word is not closed from when the code was last run but i can find out what it is. the full code is below.

Code:

  Dim objWordApp As Object
        Dim objWordDoc As Object

        'Get pointer to Word Object
        Set objWordApp = Nothing
        Set objWordApp = CreateObject("Word.Application")

        'Open the document
        Set objWordDoc = Nothing
        Set objWordDoc = objWordApp.Documents.Open("\\FS03\DBBackend\EO Database\Template\Board Pack.Docx")


        'Make Word Instance visible
        objWordApp.ScreenUpdating = True
        objWordApp.Visible = True
       
        '**********  FORMAT MIMT PAGE  **********
       
        Dim strBMName As String
        Dim objBMRange As Object
        'Select Excel Sheet
        oXLApp.Sheets("MIMT").Select

        strBMName = "MIMT"
        Set objBMRange = objWordDoc.Bookmarks(strBMName).Range
       
        'Select and Copy Data
        oXLApp.Range("A4:I40").Select
        oXLApp.Selection.CopyPicture
       
        'Goto Bookmark, Paste and Format Size of image
        objWordApp.Selection.Goto What:=wdGoToBookmark, Name:=strBMName
        objWordApp.Selection.Paste

        objWordDoc.InlineShapes.Item(objWordDoc.InlineShapes.Count).LockAspectRatio = msoFalse
        objWordDoc.InlineShapes.Item(objWordDoc.InlineShapes.Count).Width = CentimetersToPoints(23.5)
        objWordDoc.InlineShapes.Item(objWordDoc.InlineShapes.Count).Height = CentimetersToPoints(16.5)
        objWordApp.Selection.ParagraphFormat.Alignment = wdAlignParagraphCenter
       
        'Reset Variable
        Set objBMRange = Nothing
 
        '**********  FORMAT MIMT DASHBOARD PAGE  **********
        'Select Excel Sheet
        oXLApp.Sheets("MIMT Dashboard").Select
       
        strBMName = "MIMTDASH"
        Set objBMRange = objWordDoc.Bookmarks(strBMName).Range
       
        'Select and Copy Data
        ActiveSheet.Range("A2:T53").Select
        oXLApp.Selection.CopyPicture
       
        'Goto Bookmark, Paste and Format Size of image
        objWordApp.Selection.Goto What:=wdGoToBookmark, Name:=strBMName
        objWordApp.Selection.Paste
        objWordDoc.InlineShapes.Item(objWordDoc.InlineShapes.Count).LockAspectRatio = msoFalse
        objWordDoc.InlineShapes.Item(objWordDoc.InlineShapes.Count).Width = CentimetersToPoints(25.7)
        objWordDoc.InlineShapes.Item(objWordDoc.InlineShapes.Count).Height = CentimetersToPoints(16.7)
        objWordApp.Selection.ParagraphFormat.Alignment = wdAlignParagraphCenter
       
        'Reset Variable
        Set objBMRange = Nothing
 
               
 
        '**********  FORMAT KPI PAGE  **********
        Set objExcelApp1 = CreateObject("Excel.Application")
       
        'Make Word Instance visible
        objExcelApp1.ScreenUpdating = False
        objExcelApp1.Visible = True
       
        'MsgBox "You are about to be prompted to select the file required for the KPI Information", vbInformation, "KPI Data"
        objExcelApp1.Visible = msoTrue
        'Select Excel Sheet
        With objExcelApp1.FileDialog(msoFileDialogFilePicker)
            .AllowMultiSelect = False
            .Title = "Select the KPI Document File that you want to insert"
            .Show
            FileToInsert = .SelectedItems(1)
        End With

        ' get content from my file

        strBMName = "KPI"
        Set objBMRange = objWordDoc.Bookmarks(strBMName).Range
       
        'Select and Copy Data
        'Open the document
        objExcelApp1.Workbooks.Open (FileToInsert)
        objExcelApp1.Range("A1").Select

        Set rngTemp = objExcelApp1.Cells.Find("*", SearchOrder:=xlByRows, SearchDirection:=xlPrevious)
        If Not rngTemp Is Nothing Then
            objExcelApp1.Range(objExcelApp1.Cells(1, 1), rngTemp).Select
        End If
       
        objExcelApp1.Selection.CopyPicture
        objExcelApp1.ActiveWindow.Close
       
        'Goto Bookmark, Paste and Format size of Image
        objWordApp.Selection.Goto What:=wdGoToBookmark, Name:=strBMName
        objWordApp.Selection.Paste
        objWordDoc.InlineShapes.Item(objWordDoc.InlineShapes.Count).LockAspectRatio = msoFalse
        objWordDoc.InlineShapes.Item(objWordDoc.InlineShapes.Count).Width = CentimetersToPoints(21.7)
        objWordDoc.InlineShapes.Item(objWordDoc.InlineShapes.Count).Height = CentimetersToPoints(16.7)
        objWordApp.Selection.ParagraphFormat.Alignment = wdAlignParagraphCenter
        objWordApp.ScreenUpdating = True
        ActiveDocument.TablesOfContents(1).Update
       
        objExcelApp1.Quit
        Set objExcelApp1 = Nothing
       
        'Reset Veriable
        Set objBMRange = Nothing
       
 
        Form.SetFocus
        AppActivate ("Microsoft Access")
        If MsgBox("Would you like to save a copy of the Board Pack Document", vbYesNo, "Board Pack Save as document") = vbYes Then
           
        objWordApp.Visible = msoTrue        'Save the document
     
        With objWordApp.FileDialog(msoFileDialogSaveAs)
            .Title = .Title & "File to SaveAs"
            .InitialFileName = strStart
            .AllowMultiSelect = False
          '.Filters.Add " Files", "*.pdf"
            .InitialView = msoFileDialogViewDetails
            .Show
            .Execute
        End With
        Else
            objWordApp.Visible = msoTrue
        End If
       
        End Select
       
       
       
       
        oXLApp.Quit
       

        Set oXLApp = Nothing
        objWordApp.Quit
        Set objWordApp = Nothing
        Set objWordDoc = Nothing
        'Set objWordApp1 = Nothing
        'objExcelApp.Quit
        Set objExcelApp = Nothing
        'objExcelApp1.Quit
        Set objExcelApp1 = Nothing
       
        Set oXLBook = Nothing
        Set oXLSheet = Nothing

Can anyone help?
Thanks

Advance joins

$
0
0
I have this already existing query and want to add another field to it but its failing. Could someone help to format properly
Below is the current query

REPLACE(CONVERT(CHAR(10), A.BATDAT, 1), '/', '') + RIGHT('00000' + CONVERT(VARCHAR, A.BATSEQ), 5
RIGHT('000' + CONVERT(VARCHAR, A.SEQNBR), 3) AS CLIENT_TRACK_NO

I want to add a field from a table name APTTL and the filed name is DTYYY char (2)

Thanks...

Help with Date Formula

$
0
0
I have 3 columns to work from


I have a column Invoice_Date Datetime
I have a contract terms column INT
I have a column Insert_Date Datetime

SQL Server 2008 ( no EOM) :(

I am trying to get ((InvoiceDate to EOM) + Contract Terms) - INSERT_DATE

Any thoughts?
Viewing all 13329 articles
Browse latest View live