| Thread | Last Post | Replies |
|
| select from the middle | 22 Jul 2008 13:58 GMT | 2 |
with below query, i select top 5 top and bottom records from the table and then select a random record within selected top 10. --- set @selectedId =
|
| help!! | 22 Jul 2008 13:54 GMT | 3 |
how to enter data from a website into a database???
|
| For Plamen Ratchev | 22 Jul 2008 13:47 GMT | 4 |
Plamen, Back in May you helped me by posting the code below to create records into a groups table. Now I want to create a new indexed table field called GroupNameUpOneLevel. I
|
| Case construct in function | 22 Jul 2008 13:46 GMT | 3 |
There is something wrong with this function. I am struggling with syntax with the case construct. CREATE FUNCTION GetPlannedDate (
|
| login via ad groups - query to find this info. | 22 Jul 2008 13:07 GMT | 1 |
Is it possible to run a query to find all the ways a user has been granted a login to SQL server. for example a user may have a login because their windows login has been given login righs to sql server,
|
| help on if logic | 22 Jul 2008 11:01 GMT | 4 |
-snip- if (@TotalInTodayFromSameIp<10) and (@PublisherLastEranedDifferance > 10)
|
| Best way to send a result query via e-mail? | 22 Jul 2008 06:57 GMT | 2 |
What is the best way in order to send an SQL query via e-mail? What can I do in sql server side? or programatically? (VB or C#) Thanks in advanced. dj
|
| Estimate resultset size | 22 Jul 2008 06:53 GMT | 3 |
If I have table, can I estimate approximately, how large x rows is going to be? CREATE TABLE #tmp( id INT IDENTITY PRIMARY KEY, test_col1 VARCHAR(20), test_col2 DATETIME, test_col3 FLOAT, test_col4 VARCHAR(MAX) ) GO
|
| Need Ideas for SQL Query | 22 Jul 2008 06:50 GMT | 1 |
I have a query that needs to return only if there are records that match the criteria. My current query is something like this: SELECT MAX(RECORD_DATE),RECORD_NAME FROM TABLE_NAME
|
| Please Help me with query. | 22 Jul 2008 04:26 GMT | 8 |
create table t1(parentid int not null,childid int not null,number int null) go Insert t1(parentid,childid) values(10,10) Insert t1(parentid,childid) values(10,11)
|
| .sql file question | 22 Jul 2008 03:54 GMT | 3 |
I have a .sql file that has a query that I would like to schedule to run on a frequent basis. Can I import this into SQL Server Agent\Jobs? Or do I just need to rewrite this as a Scheduled Job?
|
| Join vs. Subquery | 22 Jul 2008 03:36 GMT | 5 |
I couldn't find a good answer on google....but here goes.. What is the difference between a join and a subquery? Which one is faster and why? Audrey
|
| Worse than crosstab... | 22 Jul 2008 01:51 GMT | 4 |
Here's what I'm trying to do. I know how to do it with a temp table and/or cursor, but was wondering if anyone else knows a more elegant way... This is about taking a list of parts for an electronic assembly and reformatting it for output on a report.
|
| Need Ideas for SQL Query | 21 Jul 2008 23:04 GMT | 3 |
I have a query that needs to return only if there are records that match the criteria. My current query is something like this: SELECT MAX(RECORD_DATE),RECORD_NAME FROM TABLE_NAME
|
| Help | 21 Jul 2008 22:24 GMT | 2 |
I have a problem. I just inherited a program that is full of holes and bugs and I need to do some patching. Just to note everyone, I did not set up this database and I did not code this program, I am stuck with it as is. That being said, I have to do some checks on a database ...
|