15,885,063 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Geofferz (Top 34 by date)
Geofferz
2-Mar-16 7:48am
View
just updated the question, this is the select statement i had to return all data from the different tables without the splitting of columns:
select distinct f.fle_id,
f.filename,
c.clp_clip_name,
f.FileExtension,
c.locationsList,
f.UNC,
f.Directory,
f.framerate
from lls_clips C with (NOLOCK)
inner join lls_fileimports F with (NOLOCK)
on c.fle_id = f.fle_id
inner join lls_jobs J with (NOLOCK)
on c.fle_id = j.fle_id
where J.LastUpdated >= dateadd(day, -1, getdate())
Geofferz
29-Jun-15 7:21am
View
Awesome thanks that helped me point me in right direction :)
Geofferz
10-Jun-15 8:44am
View
Thanks this worked!!
Geofferz
10-Jun-15 7:21am
View
so just to be clear i would like to return select CLP_Clip_Name + '_' + CLP_Clip_Title + CLP_Duration from....
so combining all 4 together to make one filename but i only want to bring back part of the CLP_Clip_title not full title. that make sense?
Geofferz
10-Jun-15 6:33am
View
Thanks this site was very helpful
Geofferz
14-Apr-15 8:28am
View
Thank you very much that did the trick :)
Geofferz
14-Apr-15 7:49am
View
I m using PLSQL (Oracle)
Geofferz
2-May-14 11:47am
View
haha nice! Ok thanks I will try find another way maybe searching for records in the system UI should hopefully find all locations, its just long winded that's all.
But thank you so much for all your help really appreciate it! :)
Geofferz
2-May-14 11:17am
View
So for example i have the following loctions:
K:\FILE_DELIVERIES\OTHER\
K:\FINISHED\TRANSCODE_OUTPUT\Profile_2\
R:\ITV\ITV_Compliance\
K:\OUTGOING\LONDON_LIVE\SOURCE\
Normally they should show like this at the end having the file name that is starting with the M0 or EHD etc:
K:\FILE_DELIVERIES\OTHER\M0123456
K:\FINISHED\TRANSCODE_OUTPUT\Profile_2\M0123456
R:\ITV\ITV_Compliance\M0123456
K:\OUTGOING\LONDON_LIVE\SOURCE\M0123456
but like i have explained above the issue is that they coming up as
K:\FILE_DELIVERIES\OTHERM0123456
removing the \ between the \Other (\) and M0
So what i m trying to do is run an sql to be able to find any location and filename without a \ in between the end of path or folder and the file name itself. Because all the devices are different names it could probably be difficult to do or maybe using a loop some sort?
Geofferz
2-May-14 9:58am
View
I have another question, If i want to return all items say in all location available that have the path as D:\CHANNEL_FIVE\BROADCAST\COMPLETEDEHD0152368
So here the path should be D:\CHANNEL_FIVE\BROADCAST\COMPLETED\EHD0152368 with a \ between the COMPLETED and the filename EHD0152368. So i want to find anything that has not \ between any filename that might start with M0/EHD/2-
so if there is anything other than a \ at the beginning of these filename starting with M0... it should return. But if there is a \ then then filename it should not.
That make any sense?
Thanks again
Geofferz
2-May-14 7:47am
View
Awesome thanks OriginalGriff that worked using the like clause
Geofferz
30-Apr-14 12:37pm
View
Still removing the % does not bring back anything when i run the sql
Geofferz
30-Apr-14 7:01am
View
I have the following sql that i want to try and run to return all the items on the following location but doesnt seem to bring back anything. Is the sql correct:
select t.*, t.rowid from tm_mis t where M_CTNR_LOC = '|J:\WIP\ITV\ITV_COMP\COMPLETED\%|'
Geofferz
30-Apr-14 5:22am
View
Hi, the only code I have is the code creating the table in the database. I think rest is done through the application which has been written by someone else. So the information is entered from a thick client system UI and then it just gets stored into the database table.
I have no access to the code creating the records unfortunately.
So basically I just wanted pointers for example, select * from devices where TM_LOC is...and then an update TM_LOC to ....
if that makes sense?
Geofferz
3-Apr-13 8:24am
View
Thanks for your help :)
Geofferz
25-Mar-13 7:17am
View
Thanks Du
Geofferz
22-Mar-13 9:02am
View
Yeah think didnt explain it properly there, i want to start with joining the query
Geofferz
9-May-12 12:36pm
View
Kschuler Thank you so much for your help that worked!
Geofferz
9-May-12 12:01pm
View
I have never used quickwatch before. Could you please briefly explain how to do this. Thanks Sorry I m new to this!
Geofferz
9-May-12 11:56am
View
Deleted
I have never used quickwatch before. Can you briefly explain how to do this please. Sorry i m new to this thanks!
Geofferz
17-Apr-12 5:00am
View
my email id is geoffreymk@hotmail.com thanks
Geofferz
16-Apr-12 6:01am
View
Hey, thanks for your help. I would really appreciate a sample code if you can please! At the moment I just have a text box and I want that to be linked to my database so when user starts typing name of a customer it searches what already exists in the database and provide what matches to what they typing. Thanks again!
Geofferz
20-Dec-11 8:19am
View
Thanks mate!! works well
Geofferz
23-Nov-11 13:06pm
View
Deleted
How do you make the labels to be on the left and the text field to be on the right and all aligned? so for exmaple,
Username: the text field (rather than having it at the top on each field)
Thanks again for your help
Geofferz
1-Aug-11 10:01am
View
thanks mate, that was very helpful really appreciate it! i m just putting some ideas together and then going to make some designs and start building the application. Thanks again for your help
Geofferz
1-Aug-11 9:54am
View
thanks for that mate :-)
Geofferz
25-May-11 4:27am
View
I have just updated the question added more details of what i want, I am new to SQL so i just don't know where to start with the pivot table. Hope the details above would explain more clearly what i want to achieve. Thanks
Geofferz
24-May-11 7:39am
View
I am having problems understanding the sum function? everytime i enter pivot ( it keeps giving me an error saying syntax is not correct?
Geofferz
23-May-11 12:31pm
View
Dont know how to create a pivot table...!
Geofferz
19-May-11 10:07am
View
I tried that it didnt work mate kept removing the uploaded file
Geofferz
12-May-11 6:00am
View
I have just updated the question and added more code! When i tried with your code it did not work! Maybe it will help understand it better with the new code added. Thanks
Geofferz
12-May-11 5:03am
View
Thanks!
Geofferz
11-May-11 3:16am
View
Thank you very much it worked :-)
Now that the temp table has been created, can i in same procedure create another table where i can sort out the date. (pick and choose what i want to display)
So for example, in the dbo.WFRELDATA.DESCRIPTION i have data that i want to place as table header i.e. employee name, employee no, address etc. All the data is to go under the headers is in dbo.WFDATASET_VALUE.VALUE_TEXT i want to be able to pick up this table and put it under the headers. So when i use the stored procedure in a gridview (asp.net app) it will show me a nice table with headers and the list of details below it! I hope this makes sense!
Thanks again
Geofferz
11-May-11 3:16am
View
Thank you very much it worked :-)
Now that the temp table has been created, can i in same procedure create another table where i can sort out the date. (pick and choose what i want to display)
So for example, in the dbo.WFRELDATA.DESCRIPTION i have data that i want to place as table header i.e. employee name, employee no, address etc. All the data is to go under the headers is in dbo.WFDATASET_VALUE.VALUE_TEXT i want to be able to pick up this table and put it under the headers. So when i use the stored procedure in a gridview (asp.net app) it will show me a nice table with headers and the list of details below it! I hope this makes sense!
Thanks again
Show More