like query using field name
I have a column 'staffnumber' (int) and another column 'Resourceid'
(nvarchar) in a table in sql server 2005 express
I want to do a query to find rows where the staffnumber value is not in the
e.g select mydate, customerid from appointments where Resourceid not like
in other words the 'staffnumber' column value for each row is NOT in the
'Resourceid' column value
Can this be done?
declare @par nvarchar(20)
select my...Calling Dex Procedures from SQL
Is there any way to call dex procs from SQL or VB code?
There is an undocumented and unsupported method of calling Dex code from
VBA. However, I know of no method of calling Dexterity from SQL.
Please email me if you want an example, just remove the online. from the
David Musgrave [MSFT]
Senior Development Consultant
MBS Services - Asia Pacific
Microsoft Business Solutions
Any views contained within are my personal views and
not necessarily Microsoft Business Solutions policy.
This p...is SQL 2000 architecture different SQL Server 2005 / 2008 architecture?
Hi I have a book "inside SQL Server 2000" by Kalen Delaney, which I
have been told is a good book. I am going backwards... reading about
the sql server architecture in chapter 3 of the book.
As I'm reading... I was wondering is it different SQL Server 2000 vs
SQL Server 2005/2008? Also
where can I find a book/or link that can give me more details about
the internals on architecture?
norm (email@example.com) writes:
> Hi I have a book "inside SQL Server 2000" by Kalen Delaney, which I
> have been told is a good book. I am g...Group select view others' calendar outlook 2007
Is there some sort of shortcut to select/view a group of other peoples
calender? Now I have to check the box of everyone, and then uncheck everyone
when I only want to see my own calendar.
see if http://www.publicshareware.com/outlook-public-calendar-choice.php
does what you need. if not, google for AutoIt.
Diane Poremsky [MVP - Outlook]
Outlook Tips: http://www.outlook-tips.net/
Outlook & Exchange Solutions Center: http://www.slipstick.com
Outlook Tips by email:
EMO - a weekly newsletter about Outlook and Exchange:
EMO-NEWSLET...Moving customizations from SQL 2k to SQL 2k5 CRM
This may be a non-issue but I wanted to check to see if anyone has done this
and ran into issues.
I have the XML customization files from our previous install of CRM 3.0 with
SQL 2k database. I now want to import and publish these same customizations
to CRM 3.0 on SQL 2k5.
Has anyone done this or can point me to documentation that tells about the
success or issues for doing this?
On 7 Feb., 06:35, Chris Treanor
> This may be a non-issue but I wanted to check to see if anyone has done this
> and ran into issues.
&...Listbox and multi-select and dropdown?
I need to have combo box capability with multi-select ability. I tried using
listboxes, but the problem I have is they don't drop down so I can see only
one listed item at a time. I cannot make the listboxes bigger. Is there any
way to code a listbox to drop-down, maybe by manipulating the height
property? If I could get the selected items to move to the top of the list it
would be great also. Has anyone done this? I hate to re-invent the wheel.
On Oct 3, 12:46 pm, mscertified <rup...@tigerlily.com> wrote:
> I need to have combo box capability with multi-select abil...CRM 3.0 Install Error with SQL Reporting Services and SQL 2005
Doing a CRM 3.0 Server installation. During the last page of the install
wizard (or what I assume is the last page) when I goes through and does
verification I get a red X next to SQL Reporting Services. The message I
receive when I look at the details is:
The specified path is not a metabase path.
Parameter name: path
Now SRS is installed and working. I put in the URL:
http://<servername>/reportserver and every other variation on that I can
also assuming you did not use ssl...
=======================...How can i create a query on text input to return closest match?
I would like to create a text based parameter which will return the closest
e.g Drink is the search citeria, the search will look for the word drink in
every record and bring up those with the closest match
Can you explain what you mean by closest match?
Looking for the word Drink in a field and returning all the records where
"drink" is included in the field would be simple.
Criteria: LIKE "*" & [Enter word] & "*"
But if you wanted to enter DRINK and find
Drink or Drank or Drunk or Dink or Rink Or Dunk or ....
in...SQL 'for xml' and C# example??
I'm missing some piece of the puzzle. I'm using 'for xml' type queries from
SQL2K - and now trying to change the front-end from ADO to C#, I can't quite
figure it out..
It seems that I could use an XmlReader.. and somehow use that instead of a
DataReader.. but that didn't work.. I tried using a DataReader and get the
byte array - but that wasn't right.
SQL returns formatted XML, I need to load that XML into an XmlDocument
somehow without ANY molestation of that dom. Any ideas? Examples? Missing
THANKS!! I've been looking for the answer to ...sql summarizing help
id, cdate, weeksago, amount, typeid, timeclose
496, 2010-02-11, 0, 450, 3, 1
490, 2010-02-01, 1, 200, 4, 1
491, 2010-02-01, 1, 350, 2, 2
493, 2010-02-01, 1, 500, 5, 1
489, 2010-01-21, 3, 150, 2, 1
136, 2010-01-12, 4, 500, 3, 2
137, 2010-01-12, 4, 100, 3, 1
138, 2010-01-12, 4, 500, 2, 1
1. i'm trying to create a sql that will give me a summary resultset grouped
2. i want to sum the columns and get counts based on typeid.
3. avg of timeclose
here's the sql i have:
, (sum(timeClose)/(count(timeclo...amend a PO with a query? Please help!
Our new warehouse manager entered, received and committed a PO from the
wrong vendor - over 100 items!
Does anyone know a way to either reverse the PO or change the vendor?
You can reverse the PO by opening it again in receiving mode. Use the Quick
Scan button and add an item to the PO (any item). This will 'unlock' or
re-open the PO. You can now delete the item you just added back off. Next
you would enter the quantity 'Received to Date' of each item into the
'Quantity Received' column as a negative. Fo...Insert AutoText entries based on selected options in UsrForm cbobo
Word 2003 on Windows XP. My template will be used to create design documents
with up to 12 different sections ("sections" meaning blocks of text, no
Section Breaks involved). Examples of sections are Requirements,
Assumptions, Calculations, Examples, etc. I have defined AutoText entries
for each of the variations that can occur for each of the sections. For
example, there are AutoText entries for RequirementsA, RequirementsB,
AssumptionsA, etc. Thanks to one of the MVP websites, I now have a userform
with 12 comboboxes that list out all of the AutoText entries, so ...Update multivalue field in table from form with SQL
Access 2007 on Vista
I am using a form to establish the variables for a report before it is
created. One field on the underlying table is a multivalue field, and the
form includes a multi-select combo box control. After selections are made and
the OK button on the multi-select combo drop down is clicked, focus moves to
the next control. I have discovered though, that the underlying table does
not update immediately, but does so correctly when I close the form. This
sequence does not deliver the proper report data, so I need a way to
immediately update the underlying table (m...Print selected worksheets in multiple workbooks?
We would like to print two specific worksheets that exist in multiple
workbooks at the same time. In other words, we would like to be able to
select all workbook files in a directory and send to the printer to have the
same two pages from each workbook print, not the entire workbook. We would
like to avoid having to select each file individually to send two sheets to
the printer, and then close and go on to the next file. Is this possible, and
if so, how do we accomplish this? Thanks for any direction you can provide.
I wasn't sure what all you needed, so the code below will ...Combo values from query
I am setting the values for a combo box in a form(s) via a query that
'filters' the results with criteria based upon the vales of other fields on
the form. The combo is a field that is bound. However, this is giving all
kinds of problems ranging from Access completely crashing to being asked for
the parameter values of those criteria fields when closing the form. I have
tried making the combo an unbound field and then setting the value of the
bound field to that unbound field after update, but that stilll leads to the
same issues. How can I do this?
As example - I have a form w...Refer to SQL statements globally
I have two large SQL statements that I need to use across several
forms, reports, etc.
Rather than repeat them in each form, I'm trying to store and
reference them globally.
For example, I'd like to store strSQL1 and strSQL2 in a global module,
so I can use either like this in a form:
Me!lstResults.RowSource = strSQL1
Me.Report.RecordSource = strSQL2
Would I just store the SQL statements in a global module like:
Public Function SQLSource() As String
Dim strSQL1 As String
Dim strSQL2 As String
strSQL1 = "SELECT blah blah...limit on new database query?
I am trying to create an olap cube to export to another product, however
when I use the new database query to bring the data into excel (from another
excel table) I only get 1440 rows. Is there any reason or way to change
...Excel + Query Tutorial Recommended?
Can anyone recommend a good little online tutorial so that I can get
started with manipulating my excel SQL queries. I have managed so far
to link up excel to the database and pull out a table, add in some
criteria (ie dates etc), applied a sort field and refresh. However I
want to understand a bit more about how to pull out two tables and
link them together, and this is where (as a beginner) I am getting
stuck. I do not need an intense SQL certification course or anything
like that, just a tutorial about how to edit and manipulate SQL
queries in excel. If anyone can point me in th...To SQL or not to SQL?
I have a very vertical product developed 100% in M/S Access. I developed it
myself in 1993 in the initial release of Access and been with it ever since.
It is currently very stable and running in Access 2003. My big question is
how or even *if* we should move it to SQL. My customers are getting bigger
all the time with more users. Typically our customers run one or two
workstations generally never more than 5. Performance, however, is starting
to slow with database sizes passing 500 meg. We also have a LOT of code
behind forms so are bound tightly to the Access development environ...PostgreSQL or other SQL servers in RMS
Has anyone successfully implemented RMS with one of the free SQL servers?
Theoretically, is there any reason why we have to use MS SQL Server 2000 for
"dh" <firstname.lastname@example.org> ha scritto nel messaggio
> Has anyone successfully implemented RMS with one of the free SQL servers?
> Theoretically, is there any reason why we have to use MS SQL Server 2000
> large databases?
RMS has implemented only for MS SQL Server (2000/MSDE) and isn't possible to
work with ano...Combo Box Search By Query
Ive Created a Dialog Box With some tick box's and a Combo Box.
the Dialog box aint quite working the way i would like it to.
the dialog box will open a report which the report has a record source
of the query.
the tick box on is ment to Included Projects that have Maintenance
assigned. but the tick box is set to a yes or no. and the query looks
at this field
the combo box is the same, the combo lists all the end clients, and it
works if i select a client which is assigned to the project, in which
case i could return 100 Starbucks Coffee.
but lets say i just want to display al...writeback to SQL 2005
hello! I use excel 2007
iI open a connection agianst SQL server 2005 and choose a table. In my
workbook i can now see this data from this table. if i change a value in some
cell i wish to writeback to table in SQL server. Is this possible?
It's possible through the use of VBA and ADO, but not simply using the data
connection you've already established.
"CJ" <CJ@discussions.microsoft.com> wrote in message
> hello! I use excel 2007
> iI open a connection agianst SQL server 2005 and choose a table...sql.request #2
Does anyone have a comprehensible guide on how to use it that a dolt like me
can follow? Every time I try I get a #N/A.
The only guide I can find is at
http://www.bygsoftware.com/examples/zipfiles/UsingSqlRequest.zip but it's
really hard to follow.
From the MSDN Library:
Not sure how familiar you are with ODBC; but if you are getting #N/A as a
result, it is usually because of problems either with the SQL syntax or the
connection string. There are a few examples of connection strings in the
re...How to: selected messages create "new message alert"?
using Outlook 2002 I would like some mails to be automatically moved to a
specific mailbox and NOT create a new message alert (sound, letter icon in
taskbar). This might be for example postlists I'm subscribed to since there
are sometimes minutes between messages...
Is this possible? VB scripting maybe?
Uncheck the universal new mail sound and set it individually on your mails
via rules wizard.
Milly Staples [MVP - Outlook]
Post all replies to the group to keep the discussion intact. Due to
the (insert latest virus name here) virus, all mail sent to my person...MSDE or SQL Personal or SQL Developer? or SQL Workstation?
Hi, which one is better for personal non-server computer? MSDE? SQL Personal?
SQL Developer? SQL Workstation?
It depends on what edition of GP you are going to run. If you are going to
use Professional, you need to go with SQL Server developer, assuming you are
installing on a non-server OS.
> Hi, which one is better for personal non-server computer? MSDE? SQL Personal?
> SQL Developer? SQL Workstation?
> Thank you.
Is the function of SQL Developer the same as Enterprise edition?
How about personal edition? Can it be used for GP Pro?